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/umfpack_support.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'test/umfpack_support.cpp') diff --git a/test/umfpack_support.cpp b/test/umfpack_support.cpp index 6e459a922..f900e92c6 100644 --- a/test/umfpack_support.cpp +++ b/test/umfpack_support.cpp @@ -28,12 +28,10 @@ void test_umfpack_support() { - for(int i = 0; i < g_repeat; i++) { - UmfPackLU > umfpack_double_colmajor; - UmfPackLU > > umfpack_cplxdouble_colmajor; - CALL_SUBTEST_1(check_sparse_square_solving(umfpack_double_colmajor)); - CALL_SUBTEST_2(check_sparse_square_solving(umfpack_cplxdouble_colmajor)); - CALL_SUBTEST_1(check_sparse_square_determinant(umfpack_double_colmajor)); - CALL_SUBTEST_2(check_sparse_square_determinant(umfpack_cplxdouble_colmajor)); - } + UmfPackLU > umfpack_double_colmajor; + UmfPackLU > > umfpack_cplxdouble_colmajor; + CALL_SUBTEST_1(check_sparse_square_solving(umfpack_double_colmajor)); + CALL_SUBTEST_2(check_sparse_square_solving(umfpack_cplxdouble_colmajor)); + CALL_SUBTEST_1(check_sparse_square_determinant(umfpack_double_colmajor)); + CALL_SUBTEST_2(check_sparse_square_determinant(umfpack_cplxdouble_colmajor)); } -- cgit v1.2.3