1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/ruby/test_rand.rb (test_big_seed): tests also instance methods.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-07-21 23:38:23 +00:00
parent 5ab016489c
commit 2e4ad56fc2

View file

@ -166,7 +166,6 @@ class TestRand < Test::Unit::TestCase
end
def test_big_seed
srand(2**1000000-1)
assert_equal(1143843490, rand(0x100000000))
assert_random_int(%w(1143843490), 0x100000000, 2**1000000-1)
end
end