}
@Test
public void testGeoptType() {
List<Entity> elist = doQuery(kindName, propertyName, GeoPt.class, true);
GeoPt rate = (GeoPt) elist.get(0).getProperty(propertyName);
GeoPt sameDat = (GeoPt) elist.get(0).getProperty(propertyName);
GeoPt diffDat = (GeoPt) elist.get(1).getProperty(propertyName);
assertTrue(rate.equals(sameDat));
assertFalse(rate.equals(diffDat));
assertEquals(-12, rate.getLatitude(), 0);
assertEquals(120, rate.getLongitude(), 0);
assertEquals(0, rate.compareTo(sameDat));