Sha256: 104b7101805930e6c1989264833ebe612fa24871023d301d65d8d43db77ed852

Contents?: true

Size: 278 Bytes

Versions: 2

Compression:

Stored size: 278 Bytes

Contents

require 'spec_helper'

describe Danica::Exponential do
  it_behaves_like 'a operator with a single input value', {
    variable_value: 2,
    expected_number: Math.exp(2),
    expected_number_text: Math.exp(2).to_s,
    expected_tex: 'e^{X}',
    expected_gnu: 'exp(X)'
  }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
danica-2.0.1 spec/lib/danica/exponential_spec.rb
danica-2.0.0 spec/lib/danica/exponential_spec.rb