@Test
public void testAssignUnaryFunction() {

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