Sha256: 831583b6327cac0e765e6116625da8e73ee12ccb24e86a1b628f6b7aa3675938

Contents?: true

Size: 447 Bytes

Versions: 13

Compression:

Stored size: 447 Bytes

Contents

require 'spec_helper'

describe Dydx::Algebra::Set::Num do
  it{ expect(_(1)).to eq(_(1)) }
  it{ expect(_(-1)).to eq(_(-1)) }
  it{ expect(e0).to eq(e0) }
  it{ expect(e1).to eq(e1) }

  describe '#to_s' do
    it{ expect(_(1).to_s).to eq('1') }
  end

  describe '#differentiate' do
    it{ expect(_(1).d(:x).to_s).to eq(_(0).to_s) }
  end

  describe '#==' do
    it{ expect(_(1) == _(1)).to be_true }
  end

  describe 'Calculate' do
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

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