Sha256: 0d1126b56622bb38c8d168a1f0a08625f7d558a2d3a11ce7bc06e15f53a1f896
Contents?: true
Size: 509 Bytes
Versions: 9
Compression:
Stored size: 509 Bytes
Contents
require 'pione/test-helper' describe 'Pione::Lang::PioneFloat' do before do @one = Lang::PioneFloat.new(1.0) @two = Lang::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 == Lang::PioneFloat.new(1.0) end it 'should not equal' do @one.should.not == Lang::PioneFloat.new(2.0) @one.should.not == Lang::PioneInteger.new(1) end TestHelper::Lang.test_pione_method(__FILE__) end
Version data entries
9 entries across 9 versions & 1 rubygems