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

check (-0x4000000000000000)/(-1) too.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2007-07-13 09:35:29 +00:00
parent c393603f94
commit c6818f4104

View file

@ -64,5 +64,6 @@ class TestFixnum < Test::Unit::TestCase
assert_equal(-0x40000001, 0xc0000003/(-3))
assert_equal(-0x4000000000000001, 0xc000000000000003/(-3))
assert_equal(0x40000000, (-0x40000000)/(-1), "[ruby-dev:31210]")
assert_equal(0x4000000000000000, (-0x4000000000000000)/(-1))
end
end