lua

A copy of the Lua development repository
Log | Files | Refs | README

commit a393ac255493276b1ad9d7be057fe58ea824dd00
parent 65434b4d1b5509e95940939e28fd90d4558da12e
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Wed, 18 Aug 2021 10:45:51 -0300

Detail in 'testes/math.lua'

Added a print with the random seeds used in the tests of 'random'.

Diffstat:
Mtestes/math.lua | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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