more killer tests

This commit is contained in:
Kyryl Melekhin
2021-08-03 18:58:18 +00:00
parent 70766fb93e
commit e87fdef734

21
test.sh
View File

@@ -83,6 +83,13 @@ abc\\\\>
\\\\<(hello|world|word|nice|try)\\\\> \\\\<(hello|world|word|nice|try)\\\\>
\\\\<(hello|world)\\\\>|\\\\<(word|nice|try)\\\\> \\\\<(hello|world)\\\\>|\\\\<(word|nice|try)\\\\>
(abc+)|\\\\<[^k]*\\\\> (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="\ input="\
abcdef abcdef
@@ -167,6 +174,13 @@ world
dworld dworld
nice nice
nicehdhfd nicehdhfd
21361264
0x2346ULL
1.234423
abc23321abb
3245 jjfjjj
0x663q
x37247
" "
expect="\ expect="\
(0,3) (0,3)
@@ -251,6 +265,13 @@ expect="\
-nomatch- -nomatch-
(4,8)(?,?)(4,8) (4,8)(?,?)(4,8)
(4,13)(?,?) (4,13)(?,?)
(0,8)(0,8)
(0,9)(0,9)
(0,8)(0,8)
-nomatch-
(3,7)(3,7)
-nomatch-
-nomatch-
(0,0) (0,0)
" "