aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/stdvector.cpp
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2009-10-28 18:19:29 -0400
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2009-10-28 18:19:29 -0400
commit2840ac7e948ecb3c7b19ba8f581f829a4a4e1fea (patch)
tree14adcd3aa33c4207b14455707bc247cea29029e6 /test/stdvector.cpp
parent1f1c04cac1d8a87cbb34741d141df646b2da2827 (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/stdvector.cpp')
-rw-r--r--test/stdvector.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/test/stdvector.cpp b/test/stdvector.cpp
index a976f0cf1..bdca826f4 100644
--- a/test/stdvector.cpp
+++ b/test/stdvector.cpp
@@ -135,29 +135,29 @@ void check_stdvector_quaternion(const QuaternionType&)
void test_stdvector()
{
// some non vectorizable fixed sizes
- CALL_SUBTEST(check_stdvector_matrix(Vector2f()));
- CALL_SUBTEST(check_stdvector_matrix(Matrix3f()));
- CALL_SUBTEST(check_stdvector_matrix(Matrix3d()));
+ CALL_SUBTEST_1(check_stdvector_matrix(Vector2f()));
+ CALL_SUBTEST_1(check_stdvector_matrix(Matrix3f()));
+ CALL_SUBTEST_2(check_stdvector_matrix(Matrix3d()));
// some vectorizable fixed sizes
- CALL_SUBTEST(check_stdvector_matrix(Matrix2f()));
- CALL_SUBTEST(check_stdvector_matrix(Vector4f()));
- CALL_SUBTEST(check_stdvector_matrix(Matrix4f()));
- CALL_SUBTEST(check_stdvector_matrix(Matrix4d()));
+ CALL_SUBTEST_1(check_stdvector_matrix(Matrix2f()));
+ CALL_SUBTEST_1(check_stdvector_matrix(Vector4f()));
+ CALL_SUBTEST_1(check_stdvector_matrix(Matrix4f()));
+ CALL_SUBTEST_2(check_stdvector_matrix(Matrix4d()));
// some dynamic sizes
- CALL_SUBTEST(check_stdvector_matrix(MatrixXd(1,1)));
- CALL_SUBTEST(check_stdvector_matrix(VectorXd(20)));
- CALL_SUBTEST(check_stdvector_matrix(RowVectorXf(20)));
- CALL_SUBTEST(check_stdvector_matrix(MatrixXcf(10,10)));
+ CALL_SUBTEST_3(check_stdvector_matrix(MatrixXd(1,1)));
+ CALL_SUBTEST_3(check_stdvector_matrix(VectorXd(20)));
+ CALL_SUBTEST_3(check_stdvector_matrix(RowVectorXf(20)));
+ CALL_SUBTEST_3(check_stdvector_matrix(MatrixXcf(10,10)));
// some Transform
- CALL_SUBTEST(check_stdvector_transform(Transform2f()));
- CALL_SUBTEST(check_stdvector_transform(Transform3f()));
- CALL_SUBTEST(check_stdvector_transform(Transform3d()));
- //CALL_SUBTEST(check_stdvector_transform(Transform4d()));
+ CALL_SUBTEST_4(check_stdvector_transform(Transform2f()));
+ CALL_SUBTEST_4(check_stdvector_transform(Transform3f()));
+ CALL_SUBTEST_4(check_stdvector_transform(Transform3d()));
+ //CALL_SUBTEST(heck_stdvector_transform(Transform4d()));
// some Quaternion
- CALL_SUBTEST(check_stdvector_quaternion(Quaternionf()));
- CALL_SUBTEST(check_stdvector_quaternion(Quaterniond()));
+ CALL_SUBTEST_5(check_stdvector_quaternion(Quaternionf()));
+ CALL_SUBTEST_5(check_stdvector_quaternion(Quaterniond()));
}