def test_CanParse(self):
     try:
         parser = SebastianParser(TestFilePaths.basic_chorale)
         parser.parse_as_chorale()
     except Exception as e:
         self.fail("SebastianParser threw exception on parsing: " + e.message)
示例#2
0
 def setUp(self):
     parser = SebastianParser(TestFilePaths.basic_chorale)
     self.chorale = parser.parse_as_chorale()