@Test
    public void testApproximateEquals() {
        assertTrue(FastMath.approximateEquals(1000.0f, 1000.0f));
        assertTrue(FastMath.approximateEquals(100000.0f, 100001.0f));
        assertTrue(FastMath.approximateEquals(0.0f, -0.0f));

        assertFalse(FastMath.approximateEquals(10000.0f, 10001.0f));
        assertFalse(FastMath.approximateEquals(149.0f, 0.0f));
    }
Verifies that algorithms in {@link FastMath} are working correctly.

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