mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
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
This commit is contained in:
@@ -112,16 +112,16 @@ template<typename VectorType> void vectorRedux(const VectorType& w)
|
||||
void test_redux()
|
||||
{
|
||||
for(int i = 0; i < g_repeat; i++) {
|
||||
CALL_SUBTEST( matrixRedux(Matrix<float, 1, 1>()) );
|
||||
CALL_SUBTEST( matrixRedux(Matrix2f()) );
|
||||
CALL_SUBTEST( matrixRedux(Matrix4d()) );
|
||||
CALL_SUBTEST( matrixRedux(MatrixXcf(3, 3)) );
|
||||
CALL_SUBTEST( matrixRedux(MatrixXd(8, 12)) );
|
||||
CALL_SUBTEST( matrixRedux(MatrixXi(8, 12)) );
|
||||
CALL_SUBTEST_1( matrixRedux(Matrix<float, 1, 1>()) );
|
||||
CALL_SUBTEST_2( matrixRedux(Matrix2f()) );
|
||||
CALL_SUBTEST_3( matrixRedux(Matrix4d()) );
|
||||
CALL_SUBTEST_4( matrixRedux(MatrixXcf(3, 3)) );
|
||||
CALL_SUBTEST_5( matrixRedux(MatrixXd(8, 12)) );
|
||||
CALL_SUBTEST_6( matrixRedux(MatrixXi(8, 12)) );
|
||||
}
|
||||
for(int i = 0; i < g_repeat; i++) {
|
||||
CALL_SUBTEST( vectorRedux(Vector4f()) );
|
||||
CALL_SUBTEST( vectorRedux(VectorXd(10)) );
|
||||
CALL_SUBTEST( vectorRedux(VectorXf(33)) );
|
||||
CALL_SUBTEST_7( vectorRedux(Vector4f()) );
|
||||
CALL_SUBTEST_5( vectorRedux(VectorXd(10)) );
|
||||
CALL_SUBTEST_8( vectorRedux(VectorXf(33)) );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user