Skip to content

Commit

Permalink
test the correct function (oops)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcrewi committed Sep 6, 2013
1 parent 3d735e4 commit 4339952
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libextra/num/bigint.rs
Expand Up @@ -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);
}
}

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

0 comments on commit 4339952

Please sign in to comment.