Sha256: 364892d9a8cefb655fe2bf1597eaaef65d61711f30d7f3aaa44855eae77a3b3e

Contents?: true

Size: 320 Bytes

Versions: 2

Compression:

Stored size: 320 Bytes

Contents

require 'spec_helper'

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

  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 'Calculate' do
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dydx-0.0.2 spec/lib/algebra/set/num_spec.rb
dydx-0.0.1 spec/lib/algebra/set/num_spec.rb