Sha256: 44c5705bb9b7faacee5cc9de78d274cffd7e962029cb345e2363bc839b7f32c6
Contents?: true
Size: 268 Bytes
Versions: 2
Compression:
Stored size: 268 Bytes
Contents
require File.dirname(__FILE__) + '/helper' class FloatTest < Test::Unit::TestCase def test_equals assert(1.00000000000000001.equals?(1.00000000000000002)) assert(!1.1.equals?(1.2)) assert(1.1.equals?(1.2,0.1)) assert(1.2.equals?(1.1,0.1)) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
darkhelmet-darkext-0.11.1 | test/float_test.rb |
darkhelmet-darkext-0.11.2 | test/float_test.rb |