more killer tests
This commit is contained in:
21
test.sh
21
test.sh
@@ -83,6 +83,13 @@ abc\\\\>
|
||||
\\\\<(hello|world|word|nice|try)\\\\>
|
||||
\\\\<(hello|world)\\\\>|\\\\<(word|nice|try)\\\\>
|
||||
(abc+)|\\\\<[^k]*\\\\>
|
||||
[-+]?\\\\<(0[xX][0-9a-fA-FUL]+|[0-9.]{1,}[0-9eEfFuULl]+|[0-9]+)\\\\>
|
||||
[-+]?\\\\<(0[xX][0-9a-fA-FUL]+|[0-9.]{1,}[0-9eEfFuULl]+|[0-9]+)\\\\>
|
||||
[-+]?\\\\<(0[xX][0-9a-fA-FUL]+|[0-9.]{1,}[0-9eEfFuULl]+|[0-9]+)\\\\>
|
||||
[-+]?\\\\<(0[xX][0-9a-fA-FUL]+|[0-9.]{1,}[0-9eEfFuULl]+|[0-9]+)\\\\>
|
||||
[-+]?\\\\<(0[xX][0-9a-fA-FUL]+|[0-9.]{1,}[0-9eEfFuULl]+|[0-9]+)\\\\>
|
||||
[-+]?\\\\<(0[xX][0-9a-fA-FUL]+|[0-9.]{1,}[0-9eEfFuULl]+|[0-9]+)\\\\>
|
||||
[-+]?\\\\<(0[xX][0-9a-fA-FUL]+|[0-9.]{1,}[0-9eEfFuULl]+|[0-9]+)\\\\>
|
||||
"
|
||||
input="\
|
||||
abcdef
|
||||
@@ -167,6 +174,13 @@ world
|
||||
dworld
|
||||
nice
|
||||
nicehdhfd
|
||||
21361264
|
||||
0x2346ULL
|
||||
1.234423
|
||||
abc23321abb
|
||||
3245 jjfjjj
|
||||
0x663q
|
||||
x37247
|
||||
"
|
||||
expect="\
|
||||
(0,3)
|
||||
@@ -251,6 +265,13 @@ expect="\
|
||||
-nomatch-
|
||||
(4,8)(?,?)(4,8)
|
||||
(4,13)(?,?)
|
||||
(0,8)(0,8)
|
||||
(0,9)(0,9)
|
||||
(0,8)(0,8)
|
||||
-nomatch-
|
||||
(3,7)(3,7)
|
||||
-nomatch-
|
||||
-nomatch-
|
||||
(0,0)
|
||||
"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user