GeoLocationArea extends AbstractGeoLocation { @Pure public float getY() { return this.y1; } GeoLocationArea(double x1, double y1, double x2, double y2);  GeoLocationArea(Shape2d<?> area); @Pure @Override GeoId toGeoId(); @Pure @Override @SuppressWarnings("checkstyle:equalshashcode") int hashCode(); @Pure float getMinX(); @Pure float getMinY(); @Pure float getX(); @Pure float getY(); @Pure float getMaxX(); @Pure float getMaxY(); @Pure float getWidth(); @Pure float getHeight(); @Pure @Override Rectangle2d toBounds2D(); @Pure @Override GeodesicPosition toGeodesicPosition();  }
@Test public void testGetY() { assertEpsilonEquals(GeoLocationUtil.castDistance(this.coords11m.getY()), this.location11.getY()); assertEpsilonEquals(GeoLocationUtil.castDistance(this.coords11m.getY()), this.location12.getY()); assertEpsilonEquals(GeoLocationUtil.castDistance(this.coords12m.getY()), this.location13.getY()); assertEpsilonEquals(GeoLocationUtil.castDistance(this.coords21m.getY()), this.location21.getY()); assertEpsilonEquals(GeoLocationUtil.castDistance(this.coords21m.getY()), this.location22.getY()); assertEpsilonEquals(GeoLocationUtil.castDistance(this.coords22m.getY()), this.location23.getY()); }