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