Skip to content
Commit f8a03f1f authored by Martin Walch's avatar Martin Walch Committed by Albert Astals Cid
Browse files

Always mark full lines with wrong streak sizes as completely unsatisfied

Streak checks happen in normal and in reverse order. On full lines this
means that all streaks are matched twice against the solution, yielding
markers that may feel counter-intuitive.

In particular, a solution that consists of two identical sub-patterns is
marked as completely satisfied on a full line that contains the sub-pattern
only once. A board may even seem completely solved, while it is not.

To prevent this, extend the preliminary checks to completely reject full
lines with the wrong number of streaks.

BUG: 435211
parent 8ed719ae
Pipeline #135527 passed with stage
in 40 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment