test the correct function (oops)
This commit is contained in:
parent
3d735e4a63
commit
4339952934
1 changed files with 2 additions and 2 deletions
|
|
@ -1620,7 +1620,7 @@ mod biguint_tests {
|
|||
#[test]
|
||||
fn test_rand() {
|
||||
let mut rng = task_rng();
|
||||
rng.gen_bigint(137);
|
||||
let n: BigUint = rng.gen_biguint(137);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -2056,7 +2056,7 @@ mod bigint_tests {
|
|||
#[test]
|
||||
fn test_rand() {
|
||||
let mut rng = task_rng();
|
||||
rng.gen_bigint(137);
|
||||
let n: BigInt = rng.gen_bigint(137);
|
||||
assert!(rng.gen_bigint(0).is_zero());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue