@@ -254,24 +254,24 @@ def test_compute_model_error(self):
254
254
def test_rotation (self ):
255
255
self .mt .rotate (10 )
256
256
with self .subTest ("rot 10 strike" ):
257
- self .assertAlmostEqual (325 , self .mt .pt .azimuth [0 ])
257
+ self .assertAlmostEqual (305 , self .mt .pt .azimuth [0 ])
258
258
with self .subTest ("rot 10 rotation angle" ):
259
259
self .assertEqual (10 , self .mt .rotation_angle )
260
260
self .mt .rotate (20 )
261
261
with self .subTest ("rot 20 strike" ):
262
- self .assertAlmostEqual (345 , self .mt .pt .azimuth [0 ])
262
+ self .assertAlmostEqual (285 , self .mt .pt .azimuth [0 ])
263
263
with self .subTest ("rot 10 rotation angle" ):
264
264
self .assertEqual (self .mt .rotation_angle , 30 )
265
265
266
266
def test_rotation_not_inplace (self ):
267
267
self .mt .rotate (10 )
268
268
with self .subTest ("rot 10 strike" ):
269
- self .assertAlmostEqual (325 , self .mt .pt .azimuth [0 ])
269
+ self .assertAlmostEqual (305 , self .mt .pt .azimuth [0 ])
270
270
with self .subTest ("rot 10 rotation angle" ):
271
271
self .assertEqual (10 , self .mt .rotation_angle )
272
272
self .mt .rotate (20 )
273
273
with self .subTest ("rot 20 strike" ):
274
- self .assertAlmostEqual (345 , self .mt .pt .azimuth [0 ])
274
+ self .assertAlmostEqual (285 , self .mt .pt .azimuth [0 ])
275
275
with self .subTest ("rot 10 rotation angle" ):
276
276
self .assertEqual (self .mt .rotation_angle , 30 )
277
277
0 commit comments