Skip to content

Commit ec13f39

Browse files
committed
add missing cases to spec/tsDefinitions.ts
1 parent 12f4092 commit ec13f39

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎spec/tsDefinitions.ts

+2
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ isBigInteger = bigInt.lcm(0, 1);
142142
isBigInteger = bigInt.max(0, 1);
143143
isBigInteger = bigInt.min(0, 1);
144144
isBigInteger = bigInt.randBetween(0, 1);
145+
isBigInteger = bigInt.randBetween(0, 1, () => 0.5);
145146

146147
// Instance methods
147148
isBigInteger = x.abs();
@@ -209,6 +210,7 @@ isBoolean = x.isPrime();
209210

210211
isBoolean = x.isProbablePrime();
211212
isBoolean = x.isProbablePrime(5);
213+
isBoolean = x.isProbablePrime(11, () => 0.5);
212214

213215
isBoolean = x.isUnit();
214216
isBoolean = x.isZero();

0 commit comments

Comments
 (0)