diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-13 15:20:49 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-13 15:20:49 +0000 |
commit | 4122a1356058bc4df1073713b8f43a75a8cca51a (patch) | |
tree | 3a453ea761a5fd2fcbc407fed0a8892c39c09560 /test/ruby/test_integer.rb | |
parent | 744701f40464355af08734482b7ec02f6447ca25 (diff) | |
download | ruby-4122a1356058bc4df1073713b8f43a75a8cca51a.tar.gz |
check values around 16bit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_integer.rb')
-rw-r--r-- | test/ruby/test_integer.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/ruby/test_integer.rb b/test/ruby/test_integer.rb index a5c7aab7f3..78848136db 100644 --- a/test/ruby/test_integer.rb +++ b/test/ruby/test_integer.rb @@ -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, |