@Test
    public void testConvertFloatToHalfUnsupportedOperationException() {
        thrown.expect(UnsupportedOperationException.class);
        FastMath.convertFloatToHalf(Float.NaN);
    }
Verifies that algorithms in {@link FastMath} are working correctly.

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