test the correct function (oops)

This commit is contained in:
David Creswick 2013-09-05 21:39:14 -05:00
parent 3d735e4a63
commit 4339952934

View file

@ -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());
}
}