Exemple #1
0
def test_groupPos_5():
    assert_equals(regalia.groupPos("This (is (a ] [(\]]test[[)]))"), [(5, 28), (9, 27)])
Exemple #2
0
def test_groupPos_4():
    assert_equals(regalia.groupPos("This (is (a [(\]]test[[)]))"), [(5, 26), (9, 25)])
Exemple #3
0
def test_groupPos_2():
    assert_equals(regalia.groupPos(r"This (is (a \(test\)))"), [(5, 21), (9, 20)])
Exemple #4
0
def test_groupPos_3():
    assert_equals(regalia.groupPos("This (is (a [(]test\)))"), [(5, 22), (9, 21)])
Exemple #5
0
def test_groupPos_1():
    assert_equals(regalia.groupPos("This (is (a (test)))"), [(5, 19), (9, 18), (12, 17)])