// first compute inverse by LU
LUDecompositionAlt alg = new LUDecompositionAlt();
LinearSolverLu solver = new LinearSolverLu(alg);
assertTrue( solver.setA(A));
solver.invert(expected);
// compute the result from the algorithm being tested
UnrolledInverseFromMinor.inv(A,found);
EjmlUnitTests.assertEquals(expected,found,1e-8);