def test_generate_random_rotation_matrix(self):
   # very basic test, we check if rotations actually work in test_rotate_molecules
   for _ in range(100):
     m = rgf.generate_random_rotation_matrix()
     self.assertEqual(m.shape, (3, 3))
Пример #2
0
 def test_generate_random_rotation_matrix(self):
     # very basic test, we check if rotations actually work in test_rotate_molecules
     for _ in range(100):
         m = rgf.generate_random_rotation_matrix()
         self.assertEqual(m.shape, (3, 3))