@Test
public void testComputeOrthogonalityOrthogonal() {

  /** An orthogonal matrix */
  DoubleMatrix2D orthogonal =
      new DenseDoubleMatrix2D(
          new double[][] {
            {1.00, 0.00, 0.00, 0.00, 0.00},
            {0.00, 1.00, 0.00, 0.00, 0.00},
            {0.00, 0.00, 1.00, 0.00, 0.00},
            {0.00, 0.00, 0.00, 1.00, 0.00},
            {0.00, 0.00, 0.00, 0.00, 1.00}
          });
  assertThat(MatrixUtils.computeOrthogonality(orthogonal)).isEqualTo(0.0, Offset.offset(0.00));
}