aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2018-02-04 15:13:31 -0800
committerdaurnimator <quae@daurnimator.com>2018-02-04 15:15:21 -0800
commita826a44ad60ae8b2c9395a58a9ccf48201793890 (patch)
tree90431002a1b855afff6a1fa02e4477353b3122db /tests
parent794db77dc24902dd0928514f26b8f05220bc1758 (diff)
downloadfengari-a826a44ad60ae8b2c9395a58a9ccf48201793890.tar.gz
fengari-a826a44ad60ae8b2c9395a58a9ccf48201793890.tar.bz2
fengari-a826a44ad60ae8b2c9395a58a9ccf48201793890.zip
tests/test-suite/math.js: Add missing math.randomseed call to tests
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