src/test/java/ucar/geoapi/NetcdfCRSTest.java
private static void assertAxisDirectionsEqual(String message,
            final org.opengis.referencing.cs.CoordinateSystem cs, final AxisDirection... expected)
    {
        assertEquals(concat(message, "Wrong coordinate system dimension."), expected.length, cs.getDimension());
        message = concat(message, "Wrong axis direction.");
        for (int i=0; i<expected.length; i++) {
            assertEquals(message, expected[i], cs.getAxis(i).getDirection());
        }
    }
/**
     * Asserts that all axes in the given coordinate system are pointing toward the given
     * directions, in the same order.
     *
     * @param message   header of the exception message in case of failure, or {@code null} if none.
     * @param cs        the coordinate system to test.
     * @param expected  the expected axis directions.
     */
Asserts that all axes in the given coordinate system are pointing toward the given
directions, in the same order.

@param message   header of the exception message in case of failure, or  null if none.
@param cs        the coordinate system to test.
@param expected  the expected axis directions.
Asserts that all axes in the given coordinate system are pointing toward the given directions in the same order . @param message header of the exception message in case of failure or null if none . @param cs the coordinate system to test . @param expected the expected axis directions .
private static void assertAxisDirectionsEqual(String message,
            final org.opengis.referencing.cs.CoordinateSystem cs, final AxisDirection... expected)
    {
        assertEquals(concat(message, "Wrong coordinate system dimension."), expected.length, cs.getDimension());
        message = concat(message, "Wrong axis direction.");
        for (int i=0; i<expected.length; i++) {
            assertEquals(message, expected[i], cs.getAxis(i).getDirection());
        }
    }
private static void assertAxisDirectionsEqual ( String message , final org . opengis . referencing . cs . CoordinateSystem cs , final AxisDirection ... expected ) { assertEquals ( concat ( message , "Wrong coordinate system dimension." ) , expected . length , cs . getDimension ( ) ) ; message = concat ( message , "Wrong axis direction." ) ; for ( int i = 0 ; i < expected . length ; i ++ ) { assertEquals ( message , expected [ i ] , cs . getAxis ( i ) . getDirection ( ) ) ; } }
Asserts that all axes in the given coordinate system are pointing toward the given
 directions, in the same order.
Asserts that all axes in the given coordinate system are pointing toward the given directions in the same order .