modify the unit tests of sparse linear solvers to enable tests on real matrices, from MatrixMarket for instance

This commit is contained in:
Desire NUENTSA
2012-03-29 14:32:54 +02:00
parent ada9e79145
commit f804a319c8
14 changed files with 177 additions and 71 deletions

View File

@@ -22,10 +22,8 @@ template<typename T> void test_pardiso_T()
void test_pardiso_support()
{
for(int i = 0; i < g_repeat; i++) {
CALL_SUBTEST_1(test_pardiso_T<float>());
CALL_SUBTEST_2(test_pardiso_T<double>());
CALL_SUBTEST_3(test_pardiso_T< std::complex<float> >());
CALL_SUBTEST_4(test_pardiso_T< std::complex<double> >());
}
CALL_SUBTEST_1(test_pardiso_T<float>());
CALL_SUBTEST_2(test_pardiso_T<double>());
CALL_SUBTEST_3(test_pardiso_T< std::complex<float> >());
CALL_SUBTEST_4(test_pardiso_T< std::complex<double> >());
}