Closed kortschak closed 8 years ago
I think the issue is when you have a column view where one partner is immediately left of and one down from the other. This was handled incorrectly in the current rectanglesOverlap code, but the correct approach is eluding me. Changing the final return to return bTo >= 0
is part of the fix, but this then fails the existing tests when the above conditions exist.
The following test fails:
It's pretty clear this is an off-by-one - which is mirrored in the test expectations that do exist.