mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-14 08:41:53 +02:00
Fix warnings.
This commit is contained in:
parent
b358e56223
commit
1be9906baf
6 changed files with 13 additions and 11 deletions
|
@ -25,4 +25,6 @@ def test_compute_angle() -> None:
|
|||
|
||||
def test_turn_by_compute_angle() -> None:
|
||||
"""Test turing one angle by another."""
|
||||
assert np.allclose(turn_by_angle((1, 0), np.pi / 2), np.array((0, 1)))
|
||||
assert np.allclose(
|
||||
turn_by_angle(np.array((1, 0)), np.pi / 2), np.array((0, 1))
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue