| 182 | } |
| 183 | |
| 184 | void test_mapped_matrix() |
| 185 | { |
| 186 | for(int i = 0; i < g_repeat; i++) { |
| 187 | CALL_SUBTEST_1( map_class_vector(Matrix<float, 1, 1>()) ); |
| 188 | CALL_SUBTEST_1( check_const_correctness(Matrix<float, 1, 1>()) ); |
| 189 | CALL_SUBTEST_2( map_class_vector(Vector4d()) ); |
| 190 | CALL_SUBTEST_2( map_class_vector(VectorXd(13)) ); |
| 191 | CALL_SUBTEST_2( check_const_correctness(Matrix4d()) ); |
| 192 | CALL_SUBTEST_3( map_class_vector(RowVector4f()) ); |
| 193 | CALL_SUBTEST_4( map_class_vector(VectorXcf(8)) ); |
| 194 | CALL_SUBTEST_5( map_class_vector(VectorXi(12)) ); |
| 195 | CALL_SUBTEST_5( check_const_correctness(VectorXi(12)) ); |
| 196 | |
| 197 | CALL_SUBTEST_1( map_class_matrix(Matrix<float, 1, 1>()) ); |
| 198 | CALL_SUBTEST_2( map_class_matrix(Matrix4d()) ); |
| 199 | CALL_SUBTEST_11( map_class_matrix(Matrix<float,3,5>()) ); |
| 200 | CALL_SUBTEST_4( map_class_matrix(MatrixXcf(internal::random<int>(1,10),internal::random<int>(1,10))) ); |
| 201 | CALL_SUBTEST_5( map_class_matrix(MatrixXi(internal::random<int>(1,10),internal::random<int>(1,10))) ); |
| 202 | |
| 203 | CALL_SUBTEST_6( map_static_methods(Matrix<double, 1, 1>()) ); |
| 204 | CALL_SUBTEST_7( map_static_methods(Vector3f()) ); |
| 205 | CALL_SUBTEST_8( map_static_methods(RowVector3d()) ); |
| 206 | CALL_SUBTEST_9( map_static_methods(VectorXcd(8)) ); |
| 207 | CALL_SUBTEST_10( map_static_methods(VectorXf(12)) ); |
| 208 | |
| 209 | CALL_SUBTEST_11( map_not_aligned_on_scalar<double>() ); |
| 210 | } |
| 211 | } |
nothing calls this directly
no test coverage detected