@Test
public void testInterpolateCatmullRom() {

    final float u = 0.5f;
    final float T = 0.5f;
    final Vector3f p0 = new Vector3f(1.0f, 2.0f, 3.0f);
    final Vector3f p1 = new Vector3f(6.0f, 7.0f, 8.0f);
    final Vector3f p2 = new Vector3f(2.0f, 3.0f, 4.0f);
    final Vector3f p3 = new Vector3f(0.0f, 1.0f, 8.0f);
    final Vector3f retval = FastMath.interpolateCatmullRom(u, T, p0, p1, p2, p3);
    assertNotNull(retval);
    assertEquals(4.4375f, retval.getX(), 0.0f);
    assertEquals(5.4375f, retval.getY(), 0.0f);
    assertEquals(6.0625f, retval.getZ(), 0.0f);
}