@Test
public void testEquals() {

  // couple of equals validity tests
  final LineSegment3 seg1 = new LineSegment3();
  assertEquals(seg1, seg1);
  assertFalse(seg1.equals(null));
  // throw in a couple pool accesses for coverage
  final LineSegment3 seg2 = LineSegment3.fetchTempInstance();
  seg2.set(seg1);
  assertEquals(seg1, seg2);
  assertNotSame(seg1, seg2);
  LineSegment3.releaseTempInstance(seg2);
  // cover more of equals
  assertFalse(seg1.equals(new LineSegment3(Vector3.ZERO, Vector3.UNIT_X, 2)));
  assertFalse(seg1.equals(new LineSegment3(Vector3.ZERO, Vector3.UNIT_Z, 2)));
}