| 256 | } |
| 257 | |
| 258 | void test_ref() |
| 259 | { |
| 260 | for(int i = 0; i < g_repeat; i++) { |
| 261 | CALL_SUBTEST_1( ref_vector(Matrix<float, 1, 1>()) ); |
| 262 | CALL_SUBTEST_1( check_const_correctness(Matrix<float, 1, 1>()) ); |
| 263 | CALL_SUBTEST_2( ref_vector(Vector4d()) ); |
| 264 | CALL_SUBTEST_2( check_const_correctness(Matrix4d()) ); |
| 265 | CALL_SUBTEST_3( ref_vector(Vector4cf()) ); |
| 266 | CALL_SUBTEST_4( ref_vector(VectorXcf(8)) ); |
| 267 | CALL_SUBTEST_5( ref_vector(VectorXi(12)) ); |
| 268 | CALL_SUBTEST_5( check_const_correctness(VectorXi(12)) ); |
| 269 | |
| 270 | CALL_SUBTEST_1( ref_matrix(Matrix<float, 1, 1>()) ); |
| 271 | CALL_SUBTEST_2( ref_matrix(Matrix4d()) ); |
| 272 | CALL_SUBTEST_1( ref_matrix(Matrix<float,3,5>()) ); |
| 273 | CALL_SUBTEST_4( ref_matrix(MatrixXcf(internal::random<int>(1,10),internal::random<int>(1,10))) ); |
| 274 | CALL_SUBTEST_4( ref_matrix(Matrix<std::complex<double>,10,15>()) ); |
| 275 | CALL_SUBTEST_5( ref_matrix(MatrixXi(internal::random<int>(1,10),internal::random<int>(1,10))) ); |
| 276 | CALL_SUBTEST_6( call_ref() ); |
| 277 | } |
| 278 | |
| 279 | CALL_SUBTEST_7( test_ref_overloads() ); |
| 280 | } |
nothing calls this directly
no test coverage detected