summaryrefslogtreecommitdiff
path: root/sample/test.rb
diff options
context:
space:
mode:
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 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")