aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_rand.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-20 11:05:38 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-20 11:05:38 +0000
commitced9ad5ab546d7ae478066a13116015033e2b485 (patch)
treeb07d39b3def6e9841b92079c7861b57bee324a6a /test/ruby/test_rand.rb
parentcdde8c23de076db8c89795bf8a1bb4308d72d9c1 (diff)
downloadruby-ced9ad5ab546d7ae478066a13116015033e2b485.tar.gz
* random.c (rand_init): Make it possible to specify arbitrary array
for init_genrand(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_rand.rb')
-rw-r--r--test/ruby/test_rand.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_rand.rb b/test/ruby/test_rand.rb
index d6512383be..a98eaab13c 100644
--- a/test/ruby/test_rand.rb
+++ b/test/ruby/test_rand.rb
@@ -177,7 +177,7 @@ class TestRand < Test::Unit::TestCase
end
def test_big_seed
- assert_random_int(%w(1143843490), 0x100000000, 2**1000000-1)
+ assert_random_int(%w(2757555016), 0x100000000, 2**1000000-1)
end
def test_random_gc