GeoLocationPoint extends AbstractGeoLocation { @Pure public float getY() { return this.y; } GeoLocationPoint(double x, double y); @Override @Pure GeoId toGeoId(); @Override @SuppressWarnings("checkstyle:equalshashcode") @Pure int hashCode(); @Pure float getX(); @Pure float getY(); @Pure Point2d getPoint(); @Pure @Override Rectangle2d toBounds2D(); @Pure @Override GeodesicPosition toGeodesicPosition();  }
@Test public void testGetY() { assertEpsilonEquals(GeoLocationUtil.castDistance(this.coords11.getY()), this.location11.getY()); assertEpsilonEquals(GeoLocationUtil.castDistance(this.coords12.getY()), this.location12.getY()); assertEpsilonEquals(GeoLocationUtil.castDistance(this.coords13.getY()), this.location13.getY()); assertEpsilonEquals(GeoLocationUtil.castDistance(this.coords21.getY()), this.location21.getY()); assertEpsilonEquals(GeoLocationUtil.castDistance(this.coords22.getY()), this.location22.getY()); assertEpsilonEquals(GeoLocationUtil.castDistance(this.coords23.getY()), this.location23.getY()); }