@Test
public void testNegate() {

  final Vector3 vec1 = new Vector3(3, 2, -1);
  final Vector3 vec2 = vec1.negate(null);
  assertEquals(new Vector3(-3, -2, 1), vec2);
  vec1.negateLocal();
  assertEquals(vec2, vec1);
}