示例#1
0
    def testParse(self):
        from iegen.parser import PresParser
        from iegen.util import parse_test, test_relations

        for relation_string, relation_ast in test_relations:
            parse_test(self, relation_string, PresParser.parse_relation)
示例#2
0
    def testParse(self):
        from iegen.parser import PresParser
        from iegen.util import parse_test, test_sets

        for set_string, set_ast in test_sets:
            parse_test(self, set_string, PresParser.parse_set)