diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-10-28 18:19:29 -0400 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-10-28 18:19:29 -0400 |
commit | 2840ac7e948ecb3c7b19ba8f581f829a4a4e1fea (patch) | |
tree | 14adcd3aa33c4207b14455707bc247cea29029e6 /test/umeyama.cpp | |
parent | 1f1c04cac1d8a87cbb34741d141df646b2da2827 (diff) |
big huge changes, so i dont remember everything.
* renaming, e.g. LU ---> FullPivLU
* split tests framework: more robust, e.g. dont generate empty tests if a number is skipped
* make all remaining tests use that splitting, as needed.
* Fix 4x4 inversion (see stable branch)
* Transform::inverse() and geo_transform test : adapt to new inverse() API, it was also trying to instantiate inverse() for 3x4 matrices.
* CMakeLists: more robust regexp to parse the version number
* misc fixes in unit tests
Diffstat (limited to 'test/umeyama.cpp')
-rw-r--r-- | test/umeyama.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/umeyama.cpp b/test/umeyama.cpp index 0999c59c9..09db27c1b 100644 --- a/test/umeyama.cpp +++ b/test/umeyama.cpp @@ -181,17 +181,17 @@ void test_umeyama() // works also for dimensions bigger than 3... for (int dim=2; dim<8; ++dim) { - CALL_SUBTEST(run_test<MatrixXd>(dim, num_elements)); - CALL_SUBTEST(run_test<MatrixXf>(dim, num_elements)); + CALL_SUBTEST_1(run_test<MatrixXd>(dim, num_elements)); + CALL_SUBTEST_2(run_test<MatrixXf>(dim, num_elements)); } - CALL_SUBTEST((run_fixed_size_test<float, 2>(num_elements))); - CALL_SUBTEST((run_fixed_size_test<float, 3>(num_elements))); - CALL_SUBTEST((run_fixed_size_test<float, 4>(num_elements))); + CALL_SUBTEST_3((run_fixed_size_test<float, 2>(num_elements))); + CALL_SUBTEST_4((run_fixed_size_test<float, 3>(num_elements))); + CALL_SUBTEST_5((run_fixed_size_test<float, 4>(num_elements))); - CALL_SUBTEST((run_fixed_size_test<double, 2>(num_elements))); - CALL_SUBTEST((run_fixed_size_test<double, 3>(num_elements))); - CALL_SUBTEST((run_fixed_size_test<double, 4>(num_elements))); + CALL_SUBTEST_6((run_fixed_size_test<double, 2>(num_elements))); + CALL_SUBTEST_7((run_fixed_size_test<double, 3>(num_elements))); + CALL_SUBTEST_8((run_fixed_size_test<double, 4>(num_elements))); } // Those two calls don't compile and result in meaningful error messages! |