GeoLocationArea extends AbstractGeoLocation { @Pure public float getMaxY() { return this.y2; } 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 testGetMaxY() { assertEpsilonEquals(GeoLocationUtil.castDistance(this.coords11x.getY()), this.location11.getMaxY()); assertEpsilonEquals(GeoLocationUtil.castDistance(this.coords11x.getY()), this.location12.getMaxY()); assertEpsilonEquals(GeoLocationUtil.castDistance(this.coords12x.getY()), this.location13.getMaxY()); assertEpsilonEquals(GeoLocationUtil.castDistance(this.coords21x.getY()), this.location21.getMaxY()); assertEpsilonEquals(GeoLocationUtil.castDistance(this.coords21x.getY()), this.location22.getMaxY()); assertEpsilonEquals(GeoLocationUtil.castDistance(this.coords22x.getY()), this.location23.getMaxY()); }