@Test
public void testSymmetricUniformView() {

  Matrix m1 = Matrices.symmetricUniformView(5, 6, 1234);
  Matrix m2 = Matrices.symmetricUniformView(5, 6, 1234);
  for (int row = 0; row < m1.numRows(); row++) {
    for (int col = 0; col < m1.numCols(); col++) {
      assertTrue(m1.getQuick(row, col) >= -1.0);
      assertTrue(m1.getQuick(row, col) < 1.0);
    }
  }
  Matrix diff = m1.minus(m2);
  assertEquals(0, diff.aggregate(Functions.PLUS, Functions.ABS), 1e-10);
}