diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-11-01 08:49:40 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-11-01 08:49:40 +0000 |
commit | d1bcd482a7a6a628e7402aab338b9bc57fb768ae (patch) | |
tree | 923c1bcb18d94fddd99e1e3c267e701903191bc6 /sample | |
parent | 3685e2bf2c8026f9b513a8d5a58769d7388005f2 (diff) |
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample')
-rw-r--r-- | sample/test.rb | 3 |
1 files changed, 3 insertions, 0 deletions
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") |