mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-03-13 09:50:19 +08:00
mandelbrot.py: Commenting out long running tests (#5558)
* mandelbrot.py: Commenting out long running tests
* updating DIRECTORY.md
* Comment out 9 sec doctests
* Update bidirectional_breadth_first_search.py
* Comment out slow tests
* Comment out slow (9.15 sec) pytests...
* # Comment out slow (4.20s call) doctests
* Comment out slow (3.45s) doctests
* Update miller_rabin.py
* Update miller_rabin.py
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@@ -9,7 +9,8 @@ from .binary_exp_mod import bin_exp_mod
|
||||
def is_prime(n, prec=1000):
|
||||
"""
|
||||
>>> from .prime_check import prime_check
|
||||
>>> all(is_prime(i) == prime_check(i) for i in range(1000))
|
||||
>>> # 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(256))
|
||||
True
|
||||
"""
|
||||
if n < 2:
|
||||
|
||||
Reference in New Issue
Block a user