| 163 | } |
| 164 | |
| 165 | void 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 | } |
nothing calls this directly
no test coverage detected