Sha256: 289838c08aa7577c79743d1ebaba92b86f9aff989e289313df2914a7cf637803
Contents?: true
Size: 459 Bytes
Versions: 3
Compression:
Stored size: 459 Bytes
Contents
require_relative '../test-util' describe 'Model::PioneFloat' do before do @one = PioneFloat.new(1.0) @two = PioneFloat.new(2.0) end it 'should get a ruby object that has same value' do @one.value.should == 1.0 end it 'should equal' do @one.should == PioneFloat.new(1.0) end it 'should not equal' do @one.should.not == PioneFloat.new(2.0) @one.should.not == PioneInteger.new(1) end test_pione_method("float") end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pione-0.2.2 | test/model/spec_float.rb |
pione-0.2.1 | test/model/spec_float.rb |
pione-0.2.0 | test/model/spec_float.rb |