### Question:
SimpleVectorMath { public static double norm(float[] x) { double total = 0.0; for (float f : x) { total += f * f; } return FastMath.sqrt(total); } private  SimpleVectorMath(); static double dot(float[] x, float[] y); static double norm(float[] x); static void normalize(float[] x);  }### Answer:
@Test public void testNorm() { assertEquals(4.03112887414928, SimpleVectorMath.norm(VEC1)); assertEquals(2.12132034355964, SimpleVectorMath.norm(VEC2)); }