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