Skip to content

Commit

Permalink
assert ccw orientations for the convex hull
Browse files Browse the repository at this point in the history
  • Loading branch information
cleder committed May 1, 2024
1 parent 35c1f9f commit 38cf8a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/hypothesis/test_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ def test_fuzz_convex_hull(points: typing.List[typing.Tuple[float, float]]) -> No
for coord in hull:
assert coord in points
assert len(hull) <= len(points) + 1
assert pygeoif.functions.signed_area(hull) >= 0


@given(
Expand Down

0 comments on commit 38cf8a2

Please sign in to comment.