public static void assertTransformEquals3_3(final MathTransform transform,
final double x, final double y, final double z,
final double ex, final double ey, final double ez)
throws TransformException
{
final GeneralDirectPosition source = new GeneralDirectPosition(x,y,z);
final GeneralDirectPosition target = new GeneralDirectPosition(3);
assertSame(target, transform.transform(source, target));
final String message = "Expected ("+ex+", "+ey+", "+ez+"), "+
"transformed=("+target.ordinates[0]+", "+target.ordinates[1]+", "+target.ordinates[2]+")";
assertEquals(message, ex, target.ordinates[0], EPS);
assertEquals(message, ey, target.ordinates[1], EPS);