We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d41ca53 commit b8fde5bCopy full SHA for b8fde5b
src/flint/test/test_arb.py
@@ -319,7 +319,14 @@ def test_arb_sum():
319
true_interval = arb(6, 1.5) # [4.5, 7.5]
320
assert true_interval in actual
321
322
+def test_no_tests_missing():
323
+ """Make sure all arb tests are included in all_tests."""
324
+ test_funcs = {f for name, f in globals().items() if name.startswith("test_")}
325
+ untested = test_funcs - set(all_tests)
326
+ assert not untested, f"Untested functions: {untested}"
327
+
328
all_tests = [
329
+ test_no_tests_missing,
330
test_from_int,
331
test_from_float,
332
test_from_float_inf,
0 commit comments