commit | a393ac255493276b1ad9d7be057fe58ea824dd00 | [log] [tgz] |
---|---|---|
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Wed Aug 18 10:46:18 2021 -0300 |
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Wed Aug 18 10:46:18 2021 -0300 |
tree | 424ca5ce359c3760f71b1ff7ad156f01613ee43f | |
parent | 65434b4d1b5509e95940939e28fd90d4558da12e [diff] |
Detail in 'testes/math.lua' Added a print with the random seeds used in the tests of 'random'.
diff --git a/testes/math.lua b/testes/math.lua index 930221e..48c1efe 100644 --- a/testes/math.lua +++ b/testes/math.lua
@@ -849,6 +849,7 @@ 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