mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
forgot some checkins.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
94df732f8b
commit
1d3d27b42d
36 changed files with 2191 additions and 297 deletions
|
@ -644,6 +644,11 @@ test_ok(-7 == (-a).remainder(-b))
|
|||
test_ok(10**40+10**20 == 10000000000000000000100000000000000000000)
|
||||
test_ok(10**40/10**20 == 100000000000000000000)
|
||||
|
||||
a = 677330545177305025495135714080
|
||||
b = 14269972710765292560
|
||||
test_ok(a % b == 0)
|
||||
test_ok(-a % b == 0)
|
||||
|
||||
test_check "string & char"
|
||||
|
||||
test_ok("abcd" == "abcd")
|
||||
|
@ -1053,7 +1058,7 @@ test_ok(foo.test == "test")
|
|||
begin
|
||||
foo.test2
|
||||
test_ok false
|
||||
rescue NameError
|
||||
rescue NoMethodError
|
||||
test_ok true
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue