diff --git a/test/test_direction.py b/test/test_direction.py index 00c5a19..a084162 100644 --- a/test/test_direction.py +++ b/test/test_direction.py @@ -20,3 +20,11 @@ def test_compass_points_2(): def test_compass_points_3(): assert np.allclose( parse_vector("SSW"), np.array([-0.38268343, 0.92387953])) + + +def test_wrong(): + assert not parse_vector("O") + + +def test_degree(): + assert np.allclose(parse_vector("90"), np.array([1, 0]))