Пример #1
0
def test_balanced(balanced_string):
    assert paren_check(balanced_string) == 0
Пример #2
0
def test_broken(broken_string):
    assert paren_check(broken_string) == -1
Пример #3
0
def test_open(open_string):
    assert paren_check(open_string) == 1