assertEquals(here, point.getDirectPosition());
assertEquals(here.hashCode(), point.getDirectPosition().hashCode());
}
public void testNewFactoryPointHere() {
PositionFactory gFact = new PositionFactoryImpl(
DefaultGeographicCRS.WGS84);
double[] ords = { 48.44, -123.37 };
DirectPosition here = gFact.createDirectPosition(ords);
Point point = new PointImpl(here);
assertNotNull(point.getCoordinateReferenceSystem());
assertEquals(here.getCoordinateReferenceSystem(), point
.getCoordinateReferenceSystem());