NicTileSource extends OnlineTileSourceBase { protected int getYinTMSFormat(final int zoom, final int y) { final int reverseY = (1 << zoom) - y - 1; return reverseY; } NicTileSource(final String name, final string resourceId, final int zoomMinLevel,
                         final int zoomMaxLevel, final int tileSizeInPixel, final String imageFilenameEnding);  NicTileSource(final String name, final string resourceId, final int zoomMinLevel, final int zoomMaxLevel,
                         final String urlSchema, final int tileSizeInPixel, final String imageFilenameEnding); @Override String getTileRelativeFilenameString(final MapTile tile); @Override String getTileURLString(final MapTile tile);  }
@Test public void getY_TMS() { assertEquals(0, toTest.getYinTMSFormat(0, 0)); assertEquals(63, toTest.getYinTMSFormat(6, 0)); }