Position extends Location { @Override public String toString() { return this.latitude + "\u00b0, " + this.longitude + "\u00b0, " + this.altitude; } Position();  Position(double latitude, double longitude, double altitude);  Position(Position position); static Position fromDegrees(double latitudeDegrees, double longitudeDegrees, double altitude); static Position fromRadians(double latitudeRadians, double longitudeRadians, double altitude); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); Position set(double latitude, double longitude, double altitude); Position set(Position position); Position interpolateAlongPath(Position endPosition, @WorldWind.PathType int pathType, double amount,
                                         Position result); public double altitude; }
@Test public void testToString() throws Exception { double lat = 34.2; double lon = -119.2; double elev = 13.7; Position oxr = new Position(lat, lon, elev); String string = oxr.toString(); assertTrue("lat", string.contains(Double.toString(lat))); assertTrue("lon", string.contains(Double.toString(lon))); assertTrue("alt", string.contains(Double.toString(elev))); }