From 3e2469f9519fdc4f185e42dda3aeb4fda0a5547b Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Tue, 25 Jan 2011 09:02:59 -0500 Subject: eigen2: split tests --- test/eigen2/eigen2_lu.cpp | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'test/eigen2/eigen2_lu.cpp') diff --git a/test/eigen2/eigen2_lu.cpp b/test/eigen2/eigen2_lu.cpp index 5c608209c..c6c8d577d 100644 --- a/test/eigen2/eigen2_lu.cpp +++ b/test/eigen2/eigen2_lu.cpp @@ -123,19 +123,21 @@ template void lu_invertible() void test_eigen2_lu() { for(int i = 0; i < g_repeat; i++) { - CALL_SUBTEST( lu_non_invertible() ); - CALL_SUBTEST( lu_non_invertible() ); - CALL_SUBTEST( lu_non_invertible() ); - CALL_SUBTEST( lu_non_invertible() ); - CALL_SUBTEST( lu_invertible() ); - CALL_SUBTEST( lu_invertible() ); - CALL_SUBTEST( lu_invertible() ); - CALL_SUBTEST( lu_invertible() ); + CALL_SUBTEST_1( lu_non_invertible() ); + CALL_SUBTEST_2( lu_non_invertible() ); + CALL_SUBTEST_3( lu_non_invertible() ); + CALL_SUBTEST_4( lu_non_invertible() ); + CALL_SUBTEST_1( lu_invertible() ); + CALL_SUBTEST_2( lu_invertible() ); + CALL_SUBTEST_3( lu_invertible() ); + CALL_SUBTEST_4( lu_invertible() ); } +#ifdef EIGEN_TEST_PART_1 MatrixXf m = MatrixXf::Zero(10,10); VectorXf b = VectorXf::Zero(10); VectorXf x = VectorXf::Random(10); VERIFY(m.lu().solve(b,&x)); VERIFY(x.isZero()); +#endif } -- cgit v1.2.3