summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2021-08-18 10:46:18 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2021-08-18 10:46:18 -0300
commita393ac255493276b1ad9d7be057fe58ea824dd00 (patch)
tree424ca5ce359c3760f71b1ff7ad156f01613ee43f
parent65434b4d1b5509e95940939e28fd90d4558da12e (diff)
downloadlua-github-a393ac255493276b1ad9d7be057fe58ea824dd00.tar.gz
Detail in 'testes/math.lua'
Added a print with the random seeds used in the tests of 'random'.
-rw-r--r--testes/math.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/testes/math.lua b/testes/math.lua
index 930221e3..48c1efe1 100644
--- a/testes/math.lua
+++ b/testes/math.lua
@@ -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