mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
e7571f163b
commit
0cfba9cdd9
1 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,9 @@
|
|||
require 'test/unit'
|
||||
|
||||
class TestRand < Test::Unit::TestCase
|
||||
def teardown
|
||||
raise if srand == 0
|
||||
end
|
||||
def assert_random_int(ws, m, init = 0)
|
||||
# call srand in another process
|
||||
assert_separately [], %Q{
|
||||
|
|
Loading…
Reference in a new issue