Skip to content

Commit

Permalink
Add one more test
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Jun 8, 2020
1 parent 3372050 commit 543b751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def test_point_inside_box(self):
assert point_inside_box(40, 130, None, 50, 100, None)
assert not point_inside_box(40, 130, 50, 80, 100, 150)
assert not point_inside_box(85, 130, 50, 80, 100, 150)
assert not point_inside_box(40, 170, 50, 80, 100, 150)
assert not point_inside_box(60, 170, 50, 80, 100, 150)

def test_haversine(self):
assert pytest.approx(haversine(40, 130, 50, 140), 0.01) == 12.22
Expand Down

0 comments on commit 543b751

Please sign in to comment.