Exemple #1
0
 def test_errors_errors(self, obj, im):
     with pytest.raises(TypeError):
         sum_maxima(im, scans=obj)
Exemple #2
0
 def test_im_errors(self, obj):
     with pytest.raises(TypeError):
         sum_maxima(obj)
Exemple #3
0
 def test_points_errors(self, obj, im):
     with pytest.raises(TypeError):
         sum_maxima(im, points=obj)
Exemple #4
0
 def test_sum_maxima(self, im):
     new_tic = sum_maxima(im)
     assert isinstance(new_tic, IonChromatogram)
     assert new_tic.is_tic()