Skip to content

Commit

Permalink
Fixed expected number of primes.
Browse files Browse the repository at this point in the history
  • Loading branch information
tfpf committed Apr 27, 2024
1 parent 49e3896 commit f35ed34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ mod tests {
#[test]
fn is_prime_small_test() {
let num_of_primes = primes(0, 3i64.pow(20), 3);
assert_eq!(num_of_primes, 190335585);
assert_eq!(num_of_primes, 166677978);
}

#[test]
Expand Down

0 comments on commit f35ed34

Please sign in to comment.