@Test
public void testDecode()
{

	double[] actual;
	double[] expected;
	String geohash;
	expected = new double[2];
	geohash = GeoHashExtensions.encode(53.5526394, 10.0067103);
	expected[0] = 53.55263943783939d;
	expected[1] = 10.006710458546877d;
	actual = GeoHashExtensions.decode(geohash);
	assertEquals(expected[0], actual[0]);
	assertEquals(expected[1], actual[1]);
	geohash = GeoHashExtensions.encode(30.0, -90.0);
	expected[0] = 29.999999972060323d;
	expected[1] = -90.00000016763806d;
	actual = GeoHashExtensions.decode(geohash);
	assertEquals(expected[0], actual[0]);
	assertEquals(expected[1], actual[1]);
	geohash = GeoHashExtensions.encode(51.4797, -0.0124);
	expected[0] = 51.47970006801188d;
	expected[1] = -0.01240001991391182d;
	actual = GeoHashExtensions.decode(geohash);
	assertEquals(expected[0], actual[0]);
	assertEquals(expected[1], actual[1]);
}