From 179959869190106bdb2610b3794cf321a7d8fe4e Mon Sep 17 00:00:00 2001 From: akr Date: Fri, 13 Jul 2007 15:20:49 +0000 Subject: check values around 16bit. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_integer.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'test/ruby') 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, -- cgit