1
0
mirror of https://github.com/lua/lua synced 2026-06-08 15:34:49 +00:00

Detail in 'testes/math.lua'

Added a print with the random seeds used in the tests of 'random'.
This commit is contained in:
Roberto Ierusalimschy
2021-08-18 10:46:18 -03:00
parent 65434b4d1b
commit a393ac2554
+1
View File
@@ -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