def test_parse_otu_map(self):
     """parse the maps!!"""
     exp = [('0',['10','20','30']),
            ('1',['1','6']),
            ('2',['3']),
            ('3',['8','7'])]
     obs = parse_otu_map(StringIO(clst_99))
     self.assertEqual(obs, exp)
示例#2
0
 def test_parse_otu_map(self):
     """parse the maps!!"""
     exp = [('0', ['10', '20', '30']), ('1', ['1', '6']), ('2', ['3']),
            ('3', ['8', '7'])]
     obs = parse_otu_map(StringIO(clst_99))
     self.assertEqual(obs, exp)
 def setUp(self):
     self.clst_99 = parse_otu_map(StringIO(clst_99))
     self.clst_97 = parse_otu_map(StringIO(clst_97))
     self.clst_94 = parse_otu_map(StringIO(clst_94))
示例#4
0
 def setUp(self):
     self.clst_99 = parse_otu_map(StringIO(clst_99))
     self.clst_97 = parse_otu_map(StringIO(clst_97))
     self.clst_94 = parse_otu_map(StringIO(clst_94))