Sha256: 5fc7df298e14345a36324c59fdcef0ce59554d37124fefaf0992aff8a97d9ccd
Contents?: true
Size: 389 Bytes
Versions: 2
Compression:
Stored size: 389 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 '#==' do it{ expect(_(1) == _(1)).to be_true } end describe 'Calculate' do end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dydx-0.0.4 | spec/lib/algebra/set/num_spec.rb |
dydx-0.0.3 | spec/lib/algebra/set/num_spec.rb |