Fix randIntWithout test case
This commit is contained in:
1 parent
e5cc0e302d
commit
8700a70262
1 file changed
+1
-1
@@ -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);
|
||||
});
|
||||
Reference in new issue
Block a user