|
@@ -849,6 +849,7 @@ do
|
|
math.randomseed(x, y) -- again should repeat the state
|
|
math.randomseed(x, y) -- again should repeat the state
|
|
assert(math.random(0) == res)
|
|
assert(math.random(0) == res)
|
|
-- keep the random seed for following tests
|
|
-- keep the random seed for following tests
|
|
|
|
+ print(string.format("random seeds: %d, %d", x, y))
|
|
end
|
|
end
|
|
|
|
|
|
do -- test random for floats
|
|
do -- test random for floats
|