mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-22 12:09:51 -04:00
Fix randIntWithout test case
This commit is contained in:
parent
e5cc0e302d
commit
8700a70262
1 changed files with 1 additions and 1 deletions
|
@ -63,6 +63,6 @@ test('inclusiveRandIntWithout', t => {
|
|||
t.strictEqual(withRandomValue(1 / 6, 0, 6, 2), 1);
|
||||
t.strictEqual(withRandomValue(1.9 / 6, 0, 6, 2), 1);
|
||||
|
||||
t.strictEqual(withRandomValue(3 / 4, 10, 14, 10), 13);
|
||||
t.strictEqual(withRandomValue(3 / 4, 10, 14, 10), 14);
|
||||
t.strictEqual(withRandomValue(0 / 4, 10, 14, 10), 11);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue