From f804a319c81cb1629abb9bdc97dd74a2d2dec3d7 Mon Sep 17 00:00:00 2001 From: Desire NUENTSA Date: Thu, 29 Mar 2012 14:32:54 +0200 Subject: modify the unit tests of sparse linear solvers to enable tests on real matrices, from MatrixMarket for instance --- test/superlu_support.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'test/superlu_support.cpp') diff --git a/test/superlu_support.cpp b/test/superlu_support.cpp index dbabaf2e1..ad435943b 100644 --- a/test/superlu_support.cpp +++ b/test/superlu_support.cpp @@ -28,12 +28,10 @@ void test_superlu_support() { - for(int i = 0; i < g_repeat; i++) { - SuperLU > superlu_double_colmajor; - SuperLU > > superlu_cplxdouble_colmajor; - CALL_SUBTEST_1( check_sparse_square_solving(superlu_double_colmajor) ); - CALL_SUBTEST_2( check_sparse_square_solving(superlu_cplxdouble_colmajor) ); - CALL_SUBTEST_1( check_sparse_square_determinant(superlu_double_colmajor) ); - CALL_SUBTEST_2( check_sparse_square_determinant(superlu_cplxdouble_colmajor) ); - } + SuperLU > superlu_double_colmajor; + SuperLU > > superlu_cplxdouble_colmajor; + CALL_SUBTEST_1( check_sparse_square_solving(superlu_double_colmajor) ); + CALL_SUBTEST_2( check_sparse_square_solving(superlu_cplxdouble_colmajor) ); + CALL_SUBTEST_1( check_sparse_square_determinant(superlu_double_colmajor) ); + CALL_SUBTEST_2( check_sparse_square_determinant(superlu_cplxdouble_colmajor) ); } -- cgit v1.2.3