@Test
public void testScaleAdd() {

  final Vector3 vec1 = new Vector3(1, 1, 1);
  final Vector3 vec2 = vec1.scaleAdd(2.0, new Vector3(1, 2, 3), null);
  final Vector3 vec2B = vec1.scaleAdd(2.0, new Vector3(1, 2, 3), new Vector3());
  assertEquals(new Vector3(3.0, 4.0, 5.0), vec2);
  assertEquals(new Vector3(3.0, 4.0, 5.0), vec2B);
  vec1.scaleAddLocal(2.0, new Vector3(1, 2, 3));
  assertEquals(vec2, vec1);
}