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)
def test_get_contrib_read_ids_empty(self): idxs = [] res = assemble.get_contrib_read_ids(idxs, self.reads) self.assertEqual(set(), res)
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)