Commit a8bef0e
committed
Cover aligned-zip fallback in symilar's _find_common
Adds a functional test that mocks `_HASH_BUCKET_PRODUCT_LIMIT` to zero and
runs symilar over repeated-block content so the aligned-zip fallback path
is always exercised. Covers the previously-untested branch flagged in the
codecov report on #10881.
Addresses Jacob's review request for test coverage on the "other form of
the algorithm" introduced to cap quadratic behavior.1 parent bc95dfc commit a8bef0e
1 file changed
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
0 commit comments