コード例 #1
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)
コード例 #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)
コード例 #3
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))
コード例 #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))