Browse Source

Detail in 'testes/math.lua'

Added a print with the random seeds used in the tests of 'random'.
Roberto Ierusalimschy 4 years ago
parent
commit
a393ac2554
1 changed files with 1 additions and 0 deletions
  1. 1 0
      testes/math.lua

+ 1 - 0
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