From a393ac255493276b1ad9d7be057fe58ea824dd00 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 18 Aug 2021 10:46:18 -0300 Subject: Detail in 'testes/math.lua' Added a print with the random seeds used in the tests of 'random'. --- testes/math.lua | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.1