diff --git a/tests/test_grid.py b/tests/test_grid.py index b7da02121..2bfea35e0 100644 --- a/tests/test_grid.py +++ b/tests/test_grid.py @@ -10,6 +10,10 @@ def test_distance(): assert distance((1, 2), (5, 5)) == 5.0 +def test_distance2(): + assert distance2((1, 2), (5, 5)) == 25.0 + + def test_vector_clip(): assert vector_clip((-1, 10), (0, 0), (9, 9)) == (0, 9)