Skip to content

Commit

Permalink
🧹 Add class for position_from_distance_and_bearing_tests unit test (#519
Browse files Browse the repository at this point in the history
)
  • Loading branch information
selipot authored Sep 26, 2024
1 parent 0d14b1f commit 7118cb3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/sphere_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ def test_bearing(self):
self.assertTrue(np.isclose(bearing(0, 0, 0, -0.1), -np.pi / 2))
self.assertTrue(np.isclose(bearing(0, 0, 0.1, -0.1), -np.pi / 4))

class position_from_distance_and_bearing_tests(unittest.TestCase):
def test_position_from_distance_and_bearing_one_degree(self):
self.assertTrue(
np.allclose(
Expand Down

0 comments on commit 7118cb3

Please sign in to comment.