Sha256: 061ff8e0663efb05af76c668577db8abb0f75a6cab13be9fec4f64bb9e629afa

Contents?: true

Size: 463 Bytes

Versions: 18

Compression:

Stored size: 463 Bytes

Contents

require 'spec_helper'

describe Danica::Operator::Exponential do
  subject { described_class.new(2) }

  it_behaves_like 'an object that respond to basic_methods'
  it_behaves_like 'an object with basic operation'

  it_behaves_like 'a operator with a single input value', {
    variable_value: 2,
    expected_number: Math.exp(2),
    expected_number_tex: 'e^{2}',
    expected_number_gnu: 'exp(2)',
    expected_tex: 'e^{X}',
    expected_gnu: 'exp(X)'
  }
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
danica-2.7.4 spec/lib/danica/operator/exponential_spec.rb
danica-2.7.3 spec/lib/danica/operator/exponential_spec.rb
danica-2.7.2 spec/lib/danica/operator/exponential_spec.rb
danica-2.7.1 spec/lib/danica/operator/exponential_spec.rb
danica-2.6.4 spec/lib/danica/operator/exponential_spec.rb
danica-2.6.3 spec/lib/danica/operator/exponential_spec.rb
danica-2.6.2 spec/lib/danica/operator/exponential_spec.rb
danica-2.6.1 spec/lib/danica/operator/exponential_spec.rb
danica-2.6.0 spec/lib/danica/operator/exponential_spec.rb
danica-2.5.1 spec/lib/danica/operator/exponential_spec.rb
danica-2.5.0 spec/lib/danica/operator/exponential_spec.rb
danica-2.4.4 spec/lib/danica/operator/exponential_spec.rb
danica-2.4.3 spec/lib/danica/operator/exponential_spec.rb
danica-2.4.2 spec/lib/danica/operator/exponential_spec.rb
danica-2.4.1 spec/lib/danica/operator/exponential_spec.rb
danica-2.4.0 spec/lib/danica/operator/exponential_spec.rb
danica-2.3.1 spec/lib/danica/operator/exponential_spec.rb
danica-2.3.0 spec/lib/danica/operator/exponential_spec.rb