@Test
public void testAssignUnaryFunction() {

  test.assign(Functions.NEGATE);
  for (int i = 1; i < values.length; i += 2) {
    assertEquals("value[" + i + ']', -values[i], test.getQuick(i+2), EPSILON);
  }
}