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 | 179959869190106bdb2610b3794cf321a7d8fe4e (patch) | |
| tree | 3a453ea761a5fd2fcbc407fed0a8892c39c09560 /test/ruby | |
| parent | e6c31a06a9cfef8738140932128943410b0d95fc (diff) | |
| download | ruby-179959869190106bdb2610b3794cf321a7d8fe4e.tar.gz ruby-179959869190106bdb2610b3794cf321a7d8fe4e.tar.xz ruby-179959869190106bdb2610b3794cf321a7d8fe4e.zip | |
check values around 16bit.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
| -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 a5c7aab7f..78848136d 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, |
