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:
parent
c393603f94
commit
c6818f4104
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue