18
18
common_settings = settings (deadline = None , suppress_health_check = cast (list [HealthCheck ], list (HealthCheck )))
19
19
20
20
21
- class Test_Functions (TestCase ):
21
+ class TestFunctions (TestCase ):
22
22
@common_settings
23
23
@given (st .floats (allow_nan = False ))
24
24
def test_noop (self , x : float ) -> None :
@@ -250,7 +250,7 @@ def test_bounded_exponential(self, k: float, limit: float, x: float) -> None:
250
250
assert 0 <= f (x ) <= limit
251
251
252
252
253
- class Test_Hedges (TestCase ):
253
+ class TestHedges (TestCase ):
254
254
@common_settings
255
255
@given (st .floats (min_value = 0 , max_value = 1 ))
256
256
def test_very (self , x : float ) -> None :
@@ -273,7 +273,7 @@ def test_plus(self, x: float) -> None:
273
273
assert 0 <= f (x ) <= 1
274
274
275
275
276
- class Test_Combinators (TestCase ):
276
+ class TestCombinators (TestCase ):
277
277
@common_settings
278
278
@given (st .floats (min_value = 0 , max_value = 1 ))
279
279
def test_MIN (self , x : float ) -> None :
@@ -381,7 +381,7 @@ def test_simple_disjoint_sum(self, x: float) -> None:
381
381
assert 0 <= f (x ) <= 1
382
382
383
383
384
- class Test_Domain (TestCase ):
384
+ class TestDomain (TestCase ):
385
385
def test_basics (self ) -> None :
386
386
D = Domain ("d" , 0 , 10 )
387
387
assert D ._name == "d" # type: ignore
@@ -399,7 +399,7 @@ def test_basics(self) -> None:
399
399
# assert d == D
400
400
401
401
402
- class Test_Set (TestCase ):
402
+ class TestSet (TestCase ):
403
403
@common_settings
404
404
@given (
405
405
st .floats (allow_nan = False , allow_infinity = False ),
@@ -441,7 +441,7 @@ def test_complement(self) -> None:
441
441
assert all (np .isclose (D .s1 .array (), D .s2 .array ()))
442
442
443
443
444
- class Test_Rules (TestCase ):
444
+ class TestRules (TestCase ):
445
445
@common_settings
446
446
@given (
447
447
st .floats (min_value = 0 , max_value = 1 ),
@@ -462,7 +462,7 @@ def round_partial(self, x: float, res: float) -> None:
462
462
assert isclose (x , ru .round_partial (x , res ))
463
463
464
464
465
- class Test_Truth (TestCase ):
465
+ class TestTruth (TestCase ):
466
466
@common_settings
467
467
@given (st .floats (min_value = 0 , max_value = 1 ))
468
468
def test_true_and_false (self , m : float ) -> None :
0 commit comments