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 | ac6ff5c408e4c8874b659361eb7a852bd01ce067 (patch) | |
| tree | 923c1bcb18d94fddd99e1e3c267e701903191bc6 /sample/test.rb | |
| parent | e3d1534dc3661d4d36d66239a2005591ad5899dc (diff) | |
| download | ruby-ac6ff5c408e4c8874b659361eb7a852bd01ce067.tar.gz ruby-ac6ff5c408e4c8874b659361eb7a852bd01ce067.tar.xz ruby-ac6ff5c408e4c8874b659361eb7a852bd01ce067.zip | |
matz
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/test.rb')
| -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 8f9805f60..2aa598fe3 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") |
