mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-13 06:24:06 -04:00
Address feedback from PR review. GH-103
This commit is contained in:
parent
edb109a296
commit
157b6152f5
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ test('not', function (t) {
|
|||
test('random', function (t) {
|
||||
var min = 0;
|
||||
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 <= max);
|
||||
t.end();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue