From d1bcd482a7a6a628e7402aab338b9bc57fb768ae Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 1 Nov 2000 08:49:40 +0000 Subject: matz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- sample/test.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sample') diff --git a/sample/test.rb b/sample/test.rb index 8f9805f60a..2aa598fe34 100644 --- a/sample/test.rb +++ b/sample/test.rb @@ -641,6 +641,9 @@ test_ok(7 == a.remainder(-b)) test_ok(-7 == (-a).remainder(b)) test_ok(-7 == (-a).remainder(-b)) +test_ok(10**40+10**20 == 10000000000000000000100000000000000000000) +test_ok(10**40/10**20 == 100000000000000000000) + test_check "string & char" test_ok("abcd" == "abcd") -- cgit v1.2.3