@Test
public void singularDeterminant() throws Exception {

    assertEquals("Unexpected determinant for singular matrix decomposition.",
        0d, new LUDecomposition(new DenseMatrix(2, 2)).determinant(), 0d);
}