@Test
public void testCompareTo()
{

	/** For use of the expected result. */
	boolean expected;
	/** For use of the result of the comparison. */
	int actual;
	String geohash;
	Point o1;
	Point o2;
	geohash = GeoHashExtensions.encode(53.5526394, 10.0067103);
	o1 = new GeoHashPoint(geohash);
	o2 = new GeoHashPoint(geohash);
	actual = o1.compareTo(o2);
	expected = actual == 0;
	assertTrue(expected);
	actual = o1.compareTo(o1);
	expected = actual == 0;
	assertTrue(expected);
	geohash = GeoHashExtensions.encode(30.0, -90.0);
	o2 = new GeoHashPoint(geohash);
	actual = o1.compareTo(o2);
	expected = 0 < actual;
	assertTrue(expected);
	actual = o2.compareTo(o1);
	expected = actual < 0;
	assertTrue(expected);
}