Sha256: 89b0eed567506c3fbab8880ef20d1030b2e1dda0f508f1fdd978c68839cb0632

Contents?: true

Size: 428 Bytes

Versions: 1

Compression:

Stored size: 428 Bytes

Contents

require 'spec_helper'

describe Danica::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_text: Math.exp(2).to_s,
    expected_tex: 'e^{X}',
    expected_gnu: 'exp(X)'
  }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
danica-2.0.4 spec/lib/danica/exponential_spec.rb