From 1b20e1654660fd084314da6ac75dfc11fa2eb02a Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 4 Jun 2012 10:39:57 +0200 Subject: extend umfpack support --- test/umfpack_support.cpp | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'test/umfpack_support.cpp') diff --git a/test/umfpack_support.cpp b/test/umfpack_support.cpp index f900e92c6..1922aa959 100644 --- a/test/umfpack_support.cpp +++ b/test/umfpack_support.cpp @@ -26,12 +26,21 @@ #include +template void test_umfpack_support_T() +{ + UmfPackLU > umfpack_colmajor; + UmfPackLU > umfpack_rowmajor; + + check_sparse_square_solving(umfpack_colmajor); + check_sparse_square_solving(umfpack_rowmajor); + + check_sparse_square_determinant(umfpack_colmajor); + check_sparse_square_determinant(umfpack_rowmajor); +} + void test_umfpack_support() { - 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)); + CALL_SUBTEST_1(test_umfpack_support_T()); + CALL_SUBTEST_2(test_umfpack_support_T >()); } + -- cgit v1.2.3