Sha256: 76e391cbbb1d62859c57bfc18b8c5c0f7705ca8aa77ec552b107b3ed732feb7d

Contents?: true

Size: 296 Bytes

Versions: 17

Compression:

Stored size: 296 Bytes

Contents

require 'spec_helper'

describe Dydx::Algebra::Set::Sin do
  it{ expect(sin(pi)).to eq(_(0)) }

  describe '#to_s' do
    it{ expect(sin(:x).to_s).to eq('sin( x )') }
  end
  describe '#differentiate' do
    it{ expect(sin(:x).d.to_s).to eq('cos( x )') }
  end
  describe 'Calculate' do
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
dydx-0.1.31 spec/lib/algebra/set/sin_spec.rb
dydx-0.1.3 spec/lib/algebra/set/sin_spec.rb
dydx-0.1.29 spec/lib/algebra/set/sin_spec.rb
dydx-0.1.28 spec/lib/algebra/set/sin_spec.rb
dydx-0.1.25 spec/lib/algebra/set/sin_spec.rb
dydx-0.1.2 spec/lib/algebra/set/sin_spec.rb
dydx-0.1.1 spec/lib/algebra/set/sin_spec.rb
dydx-0.1.0 spec/lib/algebra/set/sin_spec.rb
dydx-0.0.9 spec/lib/algebra/set/sin_spec.rb
dydx-0.0.8 spec/lib/algebra/set/sin_spec.rb
dydx-0.0.7 spec/lib/algebra/set/sin_spec.rb
dydx-0.0.6 spec/lib/algebra/set/sin_spec.rb
dydx-0.0.5 spec/lib/algebra/set/sin_spec.rb
dydx-0.0.4 spec/lib/algebra/set/sin_spec.rb
dydx-0.0.3 spec/lib/algebra/set/sin_spec.rb
dydx-0.0.2 spec/lib/algebra/set/sin_spec.rb
dydx-0.0.1 spec/lib/algebra/set/sin_spec.rb