summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-suite/math.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-suite/math.js b/tests/test-suite/math.js
index 9fb6fa5..1e54772 100644
--- a/tests/test-suite/math.js
+++ b/tests/test-suite/math.js
@@ -1393,6 +1393,8 @@ test("[test-suite] math: testing -0 and NaN", function (t) {
test("[test-suite] math: test random for floats", function (t) {
let luaCode = `
+ math.randomseed(0)
+
do -- test random for floats
local max = -math.huge
local min = math.huge