Sha256: ecacb54479509d8dd84d3c105cbfd346b572463d0e0794da2a5efc463f5aa16d

Contents?: true

Size: 350 Bytes

Versions: 2

Compression:

Stored size: 350 Bytes

Contents

require 'spec_helper'

describe Danica::Sin do
  subject { described_class.new(10) }

  it_behaves_like 'an object with + operation'

  it_behaves_like 'a operator with a single input value', {
    variable_value: Math::PI / 2.0,
    expected_number: 1.0,
    expected_number_text: '1',
    expected_tex: 'sin(X)',
    expected_gnu: 'sin(X)'
  }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
danica-2.0.3 spec/lib/danica/sin_spec.rb
danica-2.0.2 spec/lib/danica/sin_spec.rb