Commit ae1530b
committed
test: add doctest exercising multi-position bad-character shift
Addresses reviewer feedback by adding a test case where the pattern
'MNOP' is searched in a 32-character text, verifying correct match
positions [12, 28] and demonstrating that the bad-character shift
skips multiple positions at once.1 parent b55d94a commit ae1530b
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
119 | 127 | | |
120 | 128 | | |
121 | 129 | | |
| |||
0 commit comments