Skip to content

Commit

Permalink
improve coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
exxamalte committed Oct 11, 2024
1 parent 14ec86f commit afba700
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_geometries.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ def test_bounding_box_3():
assert bbox.centroid.longitude == 180.0
assert bbox.is_inside(Point(-2.5, -179.0))
assert not bbox.is_inside(Point(2.5, -170.0))
# Special case to increase test coverage.
assert not bbox.is_inside(None)


def test_bounding_box_equality():
Expand Down

0 comments on commit afba700

Please sign in to comment.