Skip to content

Commit a391a04

Browse files
committed
Update test_mt.py
1 parent f0e7631 commit a391a04

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/core/test_mt.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -254,24 +254,24 @@ def test_compute_model_error(self):
254254
def test_rotation(self):
255255
self.mt.rotate(10)
256256
with self.subTest("rot 10 strike"):
257-
self.assertAlmostEqual(325, self.mt.pt.azimuth[0])
257+
self.assertAlmostEqual(305, self.mt.pt.azimuth[0])
258258
with self.subTest("rot 10 rotation angle"):
259259
self.assertEqual(10, self.mt.rotation_angle)
260260
self.mt.rotate(20)
261261
with self.subTest("rot 20 strike"):
262-
self.assertAlmostEqual(345, self.mt.pt.azimuth[0])
262+
self.assertAlmostEqual(285, self.mt.pt.azimuth[0])
263263
with self.subTest("rot 10 rotation angle"):
264264
self.assertEqual(self.mt.rotation_angle, 30)
265265

266266
def test_rotation_not_inplace(self):
267267
self.mt.rotate(10)
268268
with self.subTest("rot 10 strike"):
269-
self.assertAlmostEqual(325, self.mt.pt.azimuth[0])
269+
self.assertAlmostEqual(305, self.mt.pt.azimuth[0])
270270
with self.subTest("rot 10 rotation angle"):
271271
self.assertEqual(10, self.mt.rotation_angle)
272272
self.mt.rotate(20)
273273
with self.subTest("rot 20 strike"):
274-
self.assertAlmostEqual(345, self.mt.pt.azimuth[0])
274+
self.assertAlmostEqual(285, self.mt.pt.azimuth[0])
275275
with self.subTest("rot 10 rotation angle"):
276276
self.assertEqual(self.mt.rotation_angle, 30)
277277

0 commit comments

Comments
 (0)