Changeset 8568 in josm for trunk/test/unit/org
- Timestamp:
- 2015-07-04T22:52:23+02:00 (9 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm/data/imagery
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/imagery/TemplatedWMSTileSourceTest.java
r8542 r8568 7 7 import org.junit.BeforeClass; 8 8 import org.junit.Test; 9 import org.openstreetmap.gui.jmapviewer.Tile;10 9 import org.openstreetmap.gui.jmapviewer.TileXY; 11 10 import org.openstreetmap.gui.jmapviewer.tilesources.TemplatedTMSTileSource; … … 48 47 } 49 48 } 49 verifyTileSquarness(source, 150, 20, 18); 50 50 verifyTileSquarness(source, 2270, 1323, 12); 51 51 verifyLocation(source, new LatLon(53.5937132, 19.5652017)); … … 109 109 110 110 private LatLon getTileLatLon(TemplatedWMSTileSource source, int x, int y, int z) { 111 return new LatLon(source.tileXYToLatLon( new Tile(source, x, y, z)));111 return new LatLon(source.tileXYToLatLon(x, y, z)); 112 112 } 113 113
Note:
See TracChangeset
for help on using the changeset viewer.