/** * Ensures the eccentricity squared matches the value derived from the globe definition. * * @throws Exception */ @Test public void testGetEccentricitySquared() throws Exception { double eccentricitySquared = globe.getEllipsoid().eccentricitySquared(); // Official value: 6.694379990141e-3 // Actual computed value: 6.6943799901413165e-3 assertEquals("eccentricity squared", OFFICIAL_WGS84_EC2, eccentricitySquared, 1.0e-15); }