1818common_settings = settings (deadline = None , suppress_health_check = cast (list [HealthCheck ], list (HealthCheck )))
1919
2020
21- class Test_Functions (TestCase ):
21+ class TestFunctions (TestCase ):
2222 @common_settings
2323 @given (st .floats (allow_nan = False ))
2424 def test_noop (self , x : float ) -> None :
@@ -250,7 +250,7 @@ def test_bounded_exponential(self, k: float, limit: float, x: float) -> None:
250250 assert 0 <= f (x ) <= limit
251251
252252
253- class Test_Hedges (TestCase ):
253+ class TestHedges (TestCase ):
254254 @common_settings
255255 @given (st .floats (min_value = 0 , max_value = 1 ))
256256 def test_very (self , x : float ) -> None :
@@ -273,7 +273,7 @@ def test_plus(self, x: float) -> None:
273273 assert 0 <= f (x ) <= 1
274274
275275
276- class Test_Combinators (TestCase ):
276+ class TestCombinators (TestCase ):
277277 @common_settings
278278 @given (st .floats (min_value = 0 , max_value = 1 ))
279279 def test_MIN (self , x : float ) -> None :
@@ -381,7 +381,7 @@ def test_simple_disjoint_sum(self, x: float) -> None:
381381 assert 0 <= f (x ) <= 1
382382
383383
384- class Test_Domain (TestCase ):
384+ class TestDomain (TestCase ):
385385 def test_basics (self ) -> None :
386386 D = Domain ("d" , 0 , 10 )
387387 assert D ._name == "d" # type: ignore
@@ -399,7 +399,7 @@ def test_basics(self) -> None:
399399 # assert d == D
400400
401401
402- class Test_Set (TestCase ):
402+ class TestSet (TestCase ):
403403 @common_settings
404404 @given (
405405 st .floats (allow_nan = False , allow_infinity = False ),
@@ -441,7 +441,7 @@ def test_complement(self) -> None:
441441 assert all (np .isclose (D .s1 .array (), D .s2 .array ()))
442442
443443
444- class Test_Rules (TestCase ):
444+ class TestRules (TestCase ):
445445 @common_settings
446446 @given (
447447 st .floats (min_value = 0 , max_value = 1 ),
@@ -462,7 +462,7 @@ def round_partial(self, x: float, res: float) -> None:
462462 assert isclose (x , ru .round_partial (x , res ))
463463
464464
465- class Test_Truth (TestCase ):
465+ class TestTruth (TestCase ):
466466 @common_settings
467467 @given (st .floats (min_value = 0 , max_value = 1 ))
468468 def test_true_and_false (self , m : float ) -> None :
0 commit comments