Skip to content

Commit

Permalink
Fix calculate_isqrt_b test
Browse files Browse the repository at this point in the history
  • Loading branch information
Juanma authored and Juanma committed Feb 13, 2023
1 parent 220c537 commit c0d94ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/math_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ mod tests {
#[test]
fn calculate_isqrt_b() {
let n = biguint_str!("4573659632505831259480");
assert_matches!(isqrt(&n.pow(2_u32)), Ok(_n));
assert_matches!(isqrt(&n.pow(2_u32)), Ok(num) if num == n);
}

#[test]
Expand Down

0 comments on commit c0d94ba

Please sign in to comment.