Changeset 8585 in josm for trunk/test
- Timestamp:
- 2015-07-08T21:13:07+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/imagery/WMTSTileSourceTest.java
r8584 r8585 92 92 } 93 93 94 95 96 94 @Test 97 95 public void testWIEN() throws MalformedURLException, IOException { … … 114 112 assertTrue("X index is negative: " + xy.getXIndex(), xy.getXIndex() > 0); 115 113 assertTrue(xy.getYIndex() > 0); 116 for (int x = 0; x < 4; x++) {117 for (int y = 0; y < 4; y++) {114 for (int x = 0; x < 4; x++) { 115 for (int y = 0; y < 4; y++) { 118 116 verifyMercatorTile(testSource, x, y, 3, zoomOffset); 119 117 } 120 118 } 121 for (int x = 0; x < 8; x++) {122 for (int y = 0; y < 4; y++) {119 for (int x = 0; x < 8; x++) { 120 for (int y = 0; y < 4; y++) { 123 121 verifyMercatorTile(testSource, x, y, zoomOffset); 124 122 } 125 123 } 126 124 127 verifyMercatorTile(testSource, 2 <<9 - 1, 2<<8 - 1, zoomOffset);125 verifyMercatorTile(testSource, 2 << 9 - 1, 2 << 8 - 1, zoomOffset); 128 126 129 127 assertEquals("TileXMax", 1, testSource.getTileXMax(1));
Note:
See TracChangeset
for help on using the changeset viewer.