Address feedback from PR review. GH-103

This commit is contained in:
Andrew Sliwinski 2016-10-04 14:37:39 -04:00
parent edb109a296
commit 157b6152f5

View file

@ -77,7 +77,7 @@ test('not', function (t) {
test('random', function (t) { test('random', function (t) {
var min = 0; var min = 0;
var max = 100; var max = 100;
var result = blocks.random({FROM:0, TO:1}); var result = blocks.random({FROM:min, TO:max});
t.ok(result >= min); t.ok(result >= min);
t.ok(result <= max); t.ok(result <= max);
t.end(); t.end();