diff options
author | David Tellenbach <david.tellenbach@me.com> | 2021-03-18 13:28:51 +0100 |
---|---|---|
committer | David Tellenbach <david.tellenbach@me.com> | 2021-03-18 13:28:51 +0100 |
commit | 0cc9b5eb405280c3e2e1788862ca8fa86c415038 (patch) | |
tree | 0cc9eac9d5f4108b72e9bde7bdf587b6601c722e /test | |
parent | c3fbc6cec7c687850712df231c78edc9d48066dc (diff) |
Split test commainitializer into two substests
Diffstat (limited to 'test')
-rw-r--r-- | test/commainitializer.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/test/commainitializer.cpp b/test/commainitializer.cpp index f535117d5..eb275be9c 100644 --- a/test/commainitializer.cpp +++ b/test/commainitializer.cpp @@ -73,8 +73,7 @@ struct test_block_recursion<0,N> } }; -EIGEN_DECLARE_TEST(commainitializer) -{ +void test_basics() { Matrix3d m3; Matrix4d m4; @@ -107,8 +106,13 @@ EIGEN_DECLARE_TEST(commainitializer) 4, 5, 6, vec[2].transpose(); VERIFY_IS_APPROX(m3, ref); +} + +EIGEN_DECLARE_TEST(commainitializer) +{ + CALL_SUBTEST_1(test_basics()); // recursively test all block-sizes from 0 to 3: - test_block_recursion<8>::run(); + CALL_SUBTEST_2(test_block_recursion<8>::run()); } |