summaryrefslogtreecommitdiff
path: root/sample/test.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-11-01 08:49:40 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-11-01 08:49:40 +0000
commitd1bcd482a7a6a628e7402aab338b9bc57fb768ae (patch)
tree923c1bcb18d94fddd99e1e3c267e701903191bc6 /sample/test.rb
parent3685e2bf2c8026f9b513a8d5a58769d7388005f2 (diff)
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/test.rb')
-rw-r--r--sample/test.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/sample/test.rb b/sample/test.rb
index 8f9805f..2aa598f 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")