示例#1
0
 def test_select(self):
     pg = peakgroup.PeakGroupBase()
     pg.select_this_peakgroup()
     self.assertTrue(True)
示例#2
0
 def test_set_intensity(self):
     pg = peakgroup.PeakGroupBase()
     pg.set_intensity(0.1)
     self.assertAlmostEqual(pg.get_intensity(), 0.1)
示例#3
0
 def test_set_feature_id(self):
     pg = peakgroup.PeakGroupBase()
     pg.set_feature_id("f_1")
     self.assertEqual(pg.get_feature_id(), "f_1")
示例#4
0
 def test_set_normalized_retentiontime(self):
     pg = peakgroup.PeakGroupBase()
     pg.set_normalized_retentiontime(0.1)
     self.assertAlmostEqual(pg.get_normalized_retentiontime(), 0.1)
示例#5
0
 def test_set_fdr_score(self):
     pg = peakgroup.PeakGroupBase()
     pg.set_fdr_score(0.1)
     self.assertAlmostEqual(pg.get_fdr_score(), 0.1)
示例#6
0
 def test_create_pg(self):
     pg = peakgroup.PeakGroupBase()
     self.assertTrue(True)