Skip to content

mandelbrot.py: Commenting out long running tests #5558

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Oct 23, 2021
Merged
Prev Previous commit
Update miller_rabin.py
  • Loading branch information
cclauss authored Oct 23, 2021
commit 0b4f9601fc35163603deb4e03bc5fa2cf6eacea6
2 changes: 1 addition & 1 deletion maths/miller_rabin.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def is_prime(n, prec=1000):
"""
>>> from .prime_check import prime_check
>>> # all(is_prime(i) == prime_check(i) for i in range(1000)) # 3.45s
>>> all(is_prime(i) == prime_check(i) for i in range(500))
>>> all(is_prime(i) == prime_check(i) for i in range(256))
True
"""
if n < 2:
Expand Down