LatLng[] points = { //
LatLng.newInstance(45, 45), //
LatLng.newInstance(45, -45), //
LatLng.newInstance(0, 0)};
Polygon p = new Polygon(points);
map.addOverlay(p);
RootPanel.get().add(map);
double result = p.getArea();
assertTrue("non-negative area", result > 0);
}
});