Beispiel #1
0
 def test_prep_accuracy(self, trajs, expected_result):
     """
     This function tests Pipelines.prep(trajs), where trajs
     is a dictionary containing numpy arrays.
     """
     result = Pipelines.prep(trajs)
     np.testing.assert_equal(result, expected_result)
Beispiel #2
0
 def test_prep_exceptions(self, trajs):
     with pytest.raises(Exception):
         Pipelines.prep(trajs)