def test_pclist_2(self):
     refined_list = ['THU', 'Team', 'ACRush', '/ACRush', 'Jelly', '/Jelly', 'Cooly', '/Cooly', '/Team', 'JiaJia', 'Team', 'Ahyangyi', '/Ahyangyi', 'Dragon', '/Dragon', 'Cooly', 'Amber', '/Amber', '/Cooly', '/Team', '/JiaJia', '/THU']
     pclist = xml_pclist(refined_list)
     self.assert_(pclist == [1, 2, 3, 2, 3, 2, 3, 2, 1, 2, 3, 4, 3, 4, 3, 4, 5, 4, 3, 2, 1, 0])
 def test_pclist_3(self):
     refined_list = ['A', 'B', 'C', 'D', '/D', 'E', '/E', '/C', '/B', '/A']
     pclist = xml_pclist(refined_list)
     self.assert_(pclist == [1, 2, 3, 4, 3, 4, 3, 2, 1, 0])
 def test_pclist_1(self):
     refined_list = ['Cooly', 'Amber', '/Amber', '/Cooly']
     pclist = xml_pclist(refined_list)
     self.assert_(pclist == [1, 2, 1, 0])