*
* @param cs The coordinate system to verify.
*/
public static void assertIsProjected2D(final CartesianCS cs) {
assertEquals("dimension", 2, cs.getDimension());
final CoordinateSystemAxis E = cs.getAxis(0);
final CoordinateSystemAxis N = cs.getAxis(1);
assertNotNull("axis", E);
assertNotNull("axis", N);
assertEquals("axis[0].name", "Easting", E.getName().getCode());
assertEquals("axis[1].name", "Northing", N.getName().getCode());
assertEquals("axis[0].abbreviation", "E", E.getAbbreviation());
assertEquals("axis[1].abbreviation", "N", N.getAbbreviation());
assertEquals("axis[0].direction", AxisDirection.EAST, E.getDirection());
assertEquals("axis[1].direction", AxisDirection.NORTH, N.getDirection());
assertEquals("axis[0].unit", SI.METRE, E.getUnit());
assertEquals("axis[1].unit", SI.METRE, N.getUnit());
verifyRange(E, Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY, null, true);
verifyRange(N, Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY, null, true);
}