@Test
public void testIsSimilar() {

    final Vector3f target = new Vector3f(-1.14f, 8.50f, 1.88f);
    final Vector3f other = new Vector3f(-1.52f, 8.50f, 3.76f);
    assertTrue(target.isSimilar(other, 2.0f));
    final Vector3f target_2 = new Vector3f(-1.14f, 8.50f, 1.88f);
    final Vector3f other_2 = new Vector3f(-1.52f, 8.50f, 3.76f);
    assertFalse(target_2.isSimilar(other_2, 0.0f));
    final Vector3f target_3 = new Vector3f(-1.14f, 8.50f, 1.88f);
    final Vector3f other_3 = null;
    assertFalse(target_3.isSimilar(other_3, 0.0f));
    final Vector3f target_4 = new Vector3f(-1.14f, -1.14f, 1.88f);
    final Vector3f other_4 = new Vector3f(-1.52f, -1.52f, 3.76f);
    assertFalse(target_4.isSimilar(other_4, 1.2f));
    final Vector3f target_5 = new Vector3f(-1.14f, -1.14f, 1.88f);
    final Vector3f other_5 = new Vector3f(-1.52f, -1.52f, 3.76f);
    assertFalse(target_5.isSimilar(other_5, 1.2f));
    final Vector3f target_6 = new Vector3f(-1.14f, -11.14f, 1.0f);
    final Vector3f other_6 = new Vector3f(-1.1f, -1.52f, 1.0f);
    assertFalse(target_6.isSimilar(other_6, 1.2f));
}