From 64906296b6ee4c04fdda2d57665feb451a09a508 Mon Sep 17 00:00:00 2001 From: Alden Date: Mon, 13 Feb 2023 14:35:27 -0500 Subject: [PATCH] search for more exampoles --- test/hypothesis/error_hunt.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/hypothesis/error_hunt.py b/test/hypothesis/error_hunt.py index e5fc6fc..af9df0b 100644 --- a/test/hypothesis/error_hunt.py +++ b/test/hypothesis/error_hunt.py @@ -39,7 +39,7 @@ def assert_matches(x, mpfunc, jsfunc=None): integers(min_value=-99, max_value=99), ).map(lambda tup: tup[0] * Decimal(10) ** tup[1]) ) -@settings(max_examples=1000) +@settings(max_examples=100_000) def test_matches(x, fn): assert_matches(x, fn) @@ -57,7 +57,7 @@ def test_matches(x, fn): integers(min_value=-99, max_value=99), ).map(lambda tup: tup[0] * Decimal(10) ** tup[1]) ) -@settings(max_examples=1000) +@settings(max_examples=100_000) def test_positive_domain(x, fn): assert_matches(x, fn) @@ -68,7 +68,7 @@ def test_positive_domain(x, fn): allow_nan=False, allow_infinity=False, min_value=-1, max_value=1, places=14 ) ) -@settings(max_examples=1000) +@settings(max_examples=100_000) def test_inverse_trig(x, fn): assert_matches(x, fn) @@ -82,7 +82,7 @@ def test_inverse_trig(x, fn): integers(min_value=-99, max_value=3), ).map(lambda tup: tup[0] * Decimal(10) ** tup[1]) ) -@settings(max_examples=1000) +@settings(max_examples=100_000) def test_small_domain(x, fn): assert_matches(x, fn) @@ -94,6 +94,6 @@ def test_small_domain(x, fn): integers(min_value=0, max_value=99), ).map(lambda tup: tup[0] * Decimal(10) ** tup[1]) ) -@settings(max_examples=1000) +@settings(max_examples=100_000) def test_acosh(x): assert_matches(x, 'acosh') \ No newline at end of file