@Test
public void testNormalize() {

  Vector val = test.normalize();
  double mag = Math.sqrt(1.1 * 1.1 + 2.2 * 2.2 + 3.3 * 3.3);
  for (int i = 0; i < test.size(); i++) {
    if (i % 2 == 0) {
      assertEquals("get [" + i + ']', 0.0, val.get(i), EPSILON);
    } else {
      assertEquals("dot", values[i/2] / mag, val.get(i), EPSILON);
    }
  }
}