Descriptioncc: Add edge case test in spiral iterator unittest.
Add edge case when tiling is smaller than tile size and center rect is
not intersecting to tiling rect. In this around index and consider
index point to the same index and as center rect is not intersecting,
it lies below the tiling rect as shown below. Double line box
represents the tile size, T represents tiling and * represents center
rect.
┌───┬══════╗
│ T │ ║
├───┘┌───┐ ║
║ │ * │ ║
║ └───┘ ║
╚══════════╝
In this case, spiral iterator should return tile at (0, 0) as a valid
tile.
BUG=
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel
Committed: https://crrev.com/4776477be73a1ff287bba2e17ee4963ceecf82a0
Cr-Commit-Position: refs/heads/master@{#420824}
Patch Set 1 #Patch Set 2 : rebase #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 9 (4 generated)
|