Exemple #1
0
 def test_get_contrib_read_ids_all(self):
     idxs = list(range(len(self.reads)))
     res = assemble.get_contrib_read_ids(idxs, self.reads)
     self.assertEqual(set('ABCDEFG'), res)
Exemple #2
0
 def test_get_contrib_read_ids_empty(self):
     idxs = []
     res = assemble.get_contrib_read_ids(idxs, self.reads)
     self.assertEqual(set(), res)
Exemple #3
0
 def test_get_contrib_read_ids_simple(self):
     idxs = [0, 2]
     res = assemble.get_contrib_read_ids(idxs, self.reads)
     self.assertEqual(set('ABD'), res)