Changeset 16635 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2020-06-14T17:17:16+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/imagery/TemplatedWMSTileSourceTest.java
r14403 r16635 52 52 for (int y = 0; y < 4; y++) { 53 53 verifyMercatorTile(source, x, y, 3); 54 verifyTileSquar ness(source, x, y, 3);54 verifyTileSquareness(source, x, y, 3); 55 55 } 56 56 } 57 verifyTileSquar ness(source, 150, 20, 18);58 verifyTileSquar ness(source, 2270, 1323, 12);57 verifyTileSquareness(source, 150, 20, 18); 58 verifyTileSquareness(source, 2270, 1323, 12); 59 59 verifyLocation(source, new LatLon(53.5937132, 19.5652017)); 60 60 verifyLocation(source, new LatLon(53.501565692302854, 18.54455233898721)); … … 72 72 verifyLocation(source, new LatLon(53.5937132, 19.5652017)); 73 73 verifyLocation(source, new LatLon(53.501565692302854, 18.54455233898721)); 74 verifyTileSquar ness(source, 2, 2, 2);75 verifyTileSquar ness(source, 150, 20, 18);76 verifyTileSquar ness(source, 2270, 1323, 12);74 verifyTileSquareness(source, 2, 2, 2); 75 verifyTileSquareness(source, 150, 20, 18); 76 verifyTileSquareness(source, 2270, 1323, 12); 77 77 } 78 78 … … 115 115 verifyLocation(source, new LatLon(53.501565692302854, 18.54455233898721)); 116 116 117 verifyTileSquar ness(source, 2, 2, 2);118 verifyTileSquar ness(source, 150, 20, 18);119 verifyTileSquar ness(source, 2270, 1323, 12);117 verifyTileSquareness(source, 2, 2, 2); 118 verifyTileSquareness(source, 150, 20, 18); 119 verifyTileSquareness(source, 2270, 1323, 12); 120 120 } 121 121 … … 131 131 TemplatedWMSTileSource source = getSource(projection); 132 132 133 verifyTileSquar ness(source, 0, 1, 4);133 verifyTileSquareness(source, 0, 1, 4); 134 134 verifyLocation(source, new LatLon(60, 18.1), 3); 135 135 verifyLocation(source, new LatLon(60, 18.1)); … … 147 147 TemplatedWMSTileSource source = getSource(projection); 148 148 149 verifyTileSquar ness(source, 0, 1, 4);149 verifyTileSquareness(source, 0, 1, 4); 150 150 verifyLocation(source, new LatLon(60, 18.1), 3); 151 151 verifyLocation(source, new LatLon(60, 18.1)); … … 238 238 " for tile " + z + "/" + tileIndex.getXIndex() + "/" + tileIndex.getYIndex(), 239 239 isWithin(locationEN, x1, x2)); 240 verifyTileSquar ness(source, tileIndex.getXIndex(), tileIndex.getYIndex(), z);240 verifyTileSquareness(source, tileIndex.getXIndex(), tileIndex.getYIndex(), z); 241 241 } 242 242 … … 260 260 } 261 261 262 private void verifyTileSquar ness(TemplatedWMSTileSource source, int x, int y, int z) {262 private void verifyTileSquareness(TemplatedWMSTileSource source, int x, int y, int z) { 263 263 /** 264 264 * t1 | t2
Note:
See TracChangeset
for help on using the changeset viewer.