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