### Question:
FloatVectorUtil { public static float[] add(float[] vector1, float[] vector2) { for (int i = 0; i < vector1.length; i++) { vector1[i] += vector2[i]; } return vector1; } private  FloatVectorUtil(); static float[] add(float[] vector1, float[] vector2); static float[] normalize(float[] vector); static float cosine(float[] vector1, float[] vector2); static float dot(float[] vector1, float[] vector2); static float magnitude(float[] vector); static float generalizedJaccard(float[] vector1, float[] vector2); static float[] scalar(float[] vector, float scalar);  }### Answer:
@Test public void testAdd() { assertEquals(Arrays.toString(new float[] { 1, 2, 3 }), Arrays.toString(FloatVectorUtil.add(new float[] { 0, 1, 2 }, new float[] { 1, 1, 1 }))); }