@Test
public void testDecodeAndRound()
{

	double[] actual;
	double[] expected;
	String geohash;
	expected = new double[2];
	geohash = GeoHashExtensions.encode(53.5526394, 10.0067103);
	expected[0] = 53.552639d;
	expected[1] = 10.00671d;
	actual = GeoHashExtensions.decodeAndRound(geohash);
	assertEquals(expected[0], actual[0]);
	assertEquals(expected[1], actual[1]);
	geohash = GeoHashExtensions.encode(30.0, -90.0);
	expected[0] = 29.999999d;
	expected[1] = -90.0d;
	actual = GeoHashExtensions.decodeAndRound(geohash);
	assertEquals(expected[0], actual[0]);
	assertEquals(expected[1], actual[1]);
	geohash = GeoHashExtensions.encode(51.4797, -0.0124);
	expected[0] = 51.4797d;
	expected[1] = -0.0124d;
	actual = GeoHashExtensions.decodeAndRound(geohash);
	assertEquals(expected[0], actual[0]);
	assertEquals(expected[1], actual[1]);
}