mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
check values around 16bit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
744701f404
commit
4122a13560
1 changed files with 12 additions and 0 deletions
|
@ -16,7 +16,13 @@ class TestInteger < Test::Unit::TestCase
|
|||
-0x40000001,
|
||||
-0x40000000,
|
||||
-0x3fffffff,
|
||||
-0x10001,
|
||||
-0x10000,
|
||||
-0xffff,
|
||||
-0x8101,
|
||||
-0x8001,
|
||||
-0x8000,
|
||||
-0x7fff,
|
||||
-0x7f01,
|
||||
-65,
|
||||
-64,
|
||||
|
@ -42,7 +48,13 @@ class TestInteger < Test::Unit::TestCase
|
|||
64,
|
||||
65,
|
||||
0x7f01,
|
||||
0x7ffe,
|
||||
0x7fff,
|
||||
0x8000,
|
||||
0x8101,
|
||||
0xfffe,
|
||||
0xffff,
|
||||
0x10000,
|
||||
0x3ffffffe,
|
||||
0x3fffffff,
|
||||
0x40000000,
|
||||
|
|
Loading…
Reference in a new issue