@Test
public void testNegate() {

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