final int Ai [ ] = { 0, 1, 0, 2, 4, 1, 2, 3, 4, 2, 1, 4} ;
final double Ax [ ] = {2., 3., 3., -1., 4., 4., -3., 1., 2., 2., 6., 1.} ;
final double b [ ] = {8., 45., -3., 3., 19.} ;
final double x[] = new double[b.length];
TestAbstractExperiment.checkForCorrectException(new whatToRun() {
public void run() throws NumberFormatException {
LSolver.extsolve(Ap, Ai, Ax, b, x);
}
}, IllegalArgumentException.class,"zero-sized problem");
TestAbstractExperiment.checkForCorrectException(new whatToRun() {
public void run() throws NumberFormatException {
new LSolver(Ap, Ai, Ax, b, x);
}
}, IllegalArgumentException.class,"zero-sized problem");
}