mirror of https://github.com/rusefi/lua.git
Detail in 'testes/math.lua'
Added a print with the random seeds used in the tests of 'random'.
This commit is contained in:
parent
65434b4d1b
commit
a393ac2554
|
@ -849,6 +849,7 @@ do
|
|||
math.randomseed(x, y) -- again should repeat the state
|
||||
assert(math.random(0) == res)
|
||||
-- keep the random seed for following tests
|
||||
print(string.format("random seeds: %d, %d", x, y))
|
||||
end
|
||||
|
||||
do -- test random for floats
|
||||
|
|
Loading…
Reference in New Issue