Example #1
0
 def test_random_rotation(self):
     testing.assert_almost_equal(np.linalg.det(random_rotation()), 1.0)
Example #2
0
def random_coords():
    """Return Coordinates class has random translation and rotation"""
    return Coordinates(pos=random_translation(), rot=random_rotation())