@Test
public void testMercsToLatLon() {

    LOG.info("testMercsToLatLon");
    Assert.assertEquals(MercatorPoint.mercsToLatLon(new MercatorPoint(0.5, 0.5)), new GeoPoint(0.0, 0.0));
    GeoPoint expected = MercatorPoint.mercsToLatLon(new MercatorPoint(0.0, 0.0));
    Assert.assertTrue(expected.toString(), MathUtils.isBetween(expected.getLat(), 85.0, 86.0));
    Assert.assertTrue(expected.toString(), MathUtils.isBetween(expected.getLon(), -180.0, -179.9));
    expected = MercatorPoint.mercsToLatLon(new MercatorPoint(1.0, 1.0));
    Assert.assertTrue(expected.toString(), MathUtils.isBetween(expected.getLat(), -86.0, -85.0));
    Assert.assertTrue(expected.toString(), MathUtils.isBetween(expected.getLon(), 179.9, 180.0));
}