1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

add test_symmetry_bignum.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2004-04-01 11:32:17 +00:00
parent b37f4923e5
commit ad47c057c9

View file

@ -45,4 +45,10 @@ class TestFloat < Test::Unit::TestCase
f = 3.7517675036461267e+17
assert_equal(f, sprintf("%.16e", f).to_f)
end
def test_symmetry_bignum # [ruby-bugs-ja:118]
a = 100000000000000000000000
b = 100000000000000000000000.0
assert_equal(a == b, b == a)
end
end