MCPcopy Create free account
hub / github.com/PX4/eigen / test_stdlist_overload

Function test_stdlist_overload

test/stdlist_overload.cpp:165–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165void test_stdlist_overload()
166{
167 // some non vectorizable fixed sizes
168 CALL_SUBTEST_1(check_stdlist_matrix(Vector2f()));
169 CALL_SUBTEST_1(check_stdlist_matrix(Matrix3f()));
170 CALL_SUBTEST_2(check_stdlist_matrix(Matrix3d()));
171
172 // some vectorizable fixed sizes
173 CALL_SUBTEST_1(check_stdlist_matrix(Matrix2f()));
174 CALL_SUBTEST_1(check_stdlist_matrix(Vector4f()));
175 CALL_SUBTEST_1(check_stdlist_matrix(Matrix4f()));
176 CALL_SUBTEST_2(check_stdlist_matrix(Matrix4d()));
177
178 // some dynamic sizes
179 CALL_SUBTEST_3(check_stdlist_matrix(MatrixXd(1,1)));
180 CALL_SUBTEST_3(check_stdlist_matrix(VectorXd(20)));
181 CALL_SUBTEST_3(check_stdlist_matrix(RowVectorXf(20)));
182 CALL_SUBTEST_3(check_stdlist_matrix(MatrixXcf(10,10)));
183
184 // some Transform
185 CALL_SUBTEST_4(check_stdlist_transform(Affine2f())); // does not need the specialization (2+1)^2 = 9
186 CALL_SUBTEST_4(check_stdlist_transform(Affine3f()));
187 CALL_SUBTEST_4(check_stdlist_transform(Affine3d()));
188
189 // some Quaternion
190 CALL_SUBTEST_5(check_stdlist_quaternion(Quaternionf()));
191 CALL_SUBTEST_5(check_stdlist_quaternion(Quaterniond()));
192}

Callers

nothing calls this directly

Calls 3

check_stdlist_matrixFunction · 0.70
check_stdlist_transformFunction · 0.70
check_stdlist_quaternionFunction · 0.70

Tested by

no test coverage detected