Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions tests/test_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down