@Test
public void testAssignUnaryFunction() {

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