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/jacobisvd.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/jacobisvd.cpp')
-rw-r--r-- | test/jacobisvd.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/test/jacobisvd.cpp b/test/jacobisvd.cpp index 2e3f089a0..f3a143e3c 100644 --- a/test/jacobisvd.cpp +++ b/test/jacobisvd.cpp @@ -80,27 +80,27 @@ void test_jacobisvd() Matrix2cd m; m << 0, 1, 0, 1; - CALL_SUBTEST(( svd<Matrix2cd,0>(m, false) )); + CALL_SUBTEST_1(( svd<Matrix2cd,0>(m, false) )); m << 1, 0, 1, 0; - CALL_SUBTEST(( svd<Matrix2cd,0>(m, false) )); + CALL_SUBTEST_1(( svd<Matrix2cd,0>(m, false) )); Matrix2d n; n << 1, 1, 1, -1; - CALL_SUBTEST(( svd<Matrix2d,0>(n, false) )); - CALL_SUBTEST(( svd<Matrix3f,0>() )); - CALL_SUBTEST(( svd<Matrix4d,Square>() )); - CALL_SUBTEST(( svd<Matrix<float,3,5> , AtLeastAsManyColsAsRows>() )); - CALL_SUBTEST(( svd<Matrix<double,Dynamic,2> , AtLeastAsManyRowsAsCols>(Matrix<double,Dynamic,2>(10,2)) )); + CALL_SUBTEST_2(( svd<Matrix2d,0>(n, false) )); + CALL_SUBTEST_3(( svd<Matrix3f,0>() )); + CALL_SUBTEST_4(( svd<Matrix4d,Square>() )); + CALL_SUBTEST_5(( svd<Matrix<float,3,5> , AtLeastAsManyColsAsRows>() )); + CALL_SUBTEST_6(( svd<Matrix<double,Dynamic,2> , AtLeastAsManyRowsAsCols>(Matrix<double,Dynamic,2>(10,2)) )); - CALL_SUBTEST(( svd<MatrixXf,Square>(MatrixXf(50,50)) )); - CALL_SUBTEST(( svd<MatrixXcd,AtLeastAsManyRowsAsCols>(MatrixXcd(14,7)) )); + CALL_SUBTEST_7(( svd<MatrixXf,Square>(MatrixXf(50,50)) )); + CALL_SUBTEST_8(( svd<MatrixXcd,AtLeastAsManyRowsAsCols>(MatrixXcd(14,7)) )); } - CALL_SUBTEST(( svd<MatrixXf,0>(MatrixXf(300,200)) )); - CALL_SUBTEST(( svd<MatrixXcd,AtLeastAsManyColsAsRows>(MatrixXcd(100,150)) )); + CALL_SUBTEST_9(( svd<MatrixXf,0>(MatrixXf(300,200)) )); + CALL_SUBTEST_10(( svd<MatrixXcd,AtLeastAsManyColsAsRows>(MatrixXcd(100,150)) )); - CALL_SUBTEST(( svd_verify_assert<Matrix3f>() )); - CALL_SUBTEST(( svd_verify_assert<Matrix3d>() )); - CALL_SUBTEST(( svd_verify_assert<MatrixXf>() )); - CALL_SUBTEST(( svd_verify_assert<MatrixXd>() )); + CALL_SUBTEST_3(( svd_verify_assert<Matrix3f>() )); + CALL_SUBTEST_3(( svd_verify_assert<Matrix3d>() )); + CALL_SUBTEST_9(( svd_verify_assert<MatrixXf>() )); + CALL_SUBTEST_11(( svd_verify_assert<MatrixXd>() )); } |