Пример #1
0
def test_exam(test_input):
    print(defs_file)
    p = Parser()
    p.read_defs_file(defs_file)
    root = p.parse(test_input)
    assert test_input == root.chars()
Пример #2
0
def test_parser(test_input):
    p = Parser()
    root = p.parse(test_input)
    assert test_input == root.chars()