Sha256: 4a1362eacbbcdbe2bd839b1c5355ae4ddc94416a52792788cbf67e78ccef134e

Contents?: true

Size: 414 Bytes

Versions: 1

Compression:

Stored size: 414 Bytes

Contents

require 'spec_helper'

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

  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: Math::PI / 2.0,
    expected_number: 1.0,
    expected_number_text: '1',
    expected_tex: 'sin(X)',
    expected_gnu: 'sin(X)'
  }
end

Version data entries

1 entries across 1 versions & 1 rubygems

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