Skip to content

Commit

Permalink
ensure coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
tybug committed Sep 9, 2024
1 parent b49d4dc commit ccd6849
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions hypothesis-python/tests/conjecture/test_forced.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,30 @@ def test_forced_many(data):

@example(("boolean", {"p": 1e-19, "forced": True})) # 64 bit p
@example(("boolean", {"p": 3e-19, "forced": True})) # 62 bit p
@example(
(
"integer",
{
"min_value": -1,
"max_value": 1,
"shrink_towards": 1,
"weights": [0.1] * 3,
"forced": 0,
},
)
)
@example(
(
"integer",
{
"min_value": -1,
"max_value": 1,
"shrink_towards": -1,
"weights": [0.1] * 3,
"forced": 0,
},
)
)
@example(("float", {"forced": 0.0}))
@example(("float", {"forced": -0.0}))
@example(("float", {"forced": 1.0}))
Expand Down

0 comments on commit ccd6849

Please sign in to comment.