@Test
    public void testInterpolateLinear() {
        final float scale = -1.00195f;
        final Vector3f startValue = new Vector3f(32.0f, 0.0f, 0.0f);
        final Vector3f endValue = new Vector3f(32.0f, Float.POSITIVE_INFINITY, -0.0f);

        final Vector3f retval = FastMath.interpolateLinear(scale, startValue, endValue);

        assertNotNull(retval);
        assertEquals(32.0f, retval.getX(), 0.0f);
        assertEquals(0.0f, retval.getY(), 0.0f);
        assertEquals(0.0f, retval.getZ(), 0.0f);
    }
Verifies that algorithms in {@link FastMath} are working correctly.

@author Kirill Vainer
jme3-core/src/test/java/com/jme3/math/FastMathTest.java