Skip to content

Commit

Permalink
add covering example
Browse files Browse the repository at this point in the history
  • Loading branch information
tybug committed Dec 21, 2024
1 parent b56c410 commit 8282339
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hypothesis-python/tests/cover/test_float_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def test_next_float_equal(func, val):
@example(make_float_kw(100.0001, 100.0003, allow_nan=False), math.nan)
@example(make_float_kw(0, 10, allow_nan=False), math.nan)
@example(make_float_kw(0, 10, allow_nan=True), math.nan)
@example(make_float_kw(-4, -1, smallest_nonzero_magnitude=4), 4)
@given(float_kwargs(), st.floats())
def test_float_clamper(kwargs, input_value):
min_value = kwargs["min_value"]
Expand Down

0 comments on commit 8282339

Please sign in to comment.