@Test
public void testIsUnitVector() {

    assertFalse(new Vector3f(1.07f, 2.12f, 3.32f).isUnitVector());
    assertFalse(new Vector3f(1.07f, 2.12f, Float.NaN).isUnitVector());
    assertTrue(new Vector3f(1.0f, 0.0f, 0.0f).isUnitVector());
    assertTrue(new Vector3f(0.0f, 1.0f, 0.0f).isUnitVector());
    assertTrue(new Vector3f(0.0f, 0.0f, 1.0f).isUnitVector());
    assertTrue(new Vector3f(0.0f, 0.0f, -1.0f).isUnitVector());
    assertTrue(new Vector3f(-1.0f, 0.0f, 0.0f).isUnitVector());
    assertTrue(new Vector3f(0.0f, -1.0f, 0.0f).isUnitVector());
}