@Test
public void testViewPart() {

  int[] offset = {1, 1};
  int[] size = {2, 1};
  Matrix view = test.viewPart(offset, size);
  for (int row = 0; row < view.rowSize(); row++) {
    for (int col = 0; col < view.columnSize(); col++) {
      assertEquals("value[" + row + "][" + col + ']',
          values[row + 2][col + 2], view.getQuick(row, col), EPSILON);
    }
  }
}