Skip to content
Snippets Groups Projects
Commit 02f12f5d authored by Luc Maisonobe's avatar Luc Maisonobe
Browse files

Added test for level 0 merging row and tall tile.

parent ed8afd19
No related branches found
No related tags found
No related merge requests found
......@@ -62,6 +62,10 @@ public class MinMaxTreeTileTest {
maxTreeField.setAccessible(true);
Assert.assertEquals(2187, ((double[]) maxTreeField.get(tile)).length);
for (int i = 0; i < tile.getLatitudeRows(); ++i) {
Assert.assertEquals(32 * (i / 32) + 16, tile.getMergingRow(i, 0));
}
}
@Test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment