Add unit tests

This commit is contained in:
Desire NUENTSA
2012-08-03 13:05:45 +02:00
parent 6e8aa96e0f
commit 7dc39b7037
4 changed files with 47 additions and 4 deletions

View File

@@ -70,7 +70,7 @@ int main(int argc, char **args)
cout << "Factorize Time " << timer.value() << std::endl;
timer.reset();
timer.start();
solver._solve(b, x);
x = solver.solve(b);
timer.stop();
cout << "solve time " << timer.value() << std::endl;
/* Check the accuracy */