| 146 | } |
| 147 | |
| 148 | void test_mapstaticmethods() |
| 149 | { |
| 150 | ptr = internal::aligned_new<float>(1000); |
| 151 | for(int i = 0; i < 1000; i++) ptr[i] = float(i); |
| 152 | |
| 153 | const_ptr = ptr; |
| 154 | |
| 155 | CALL_SUBTEST_1(( mapstaticmethods(Matrix<float, 1, 1>()) )); |
| 156 | CALL_SUBTEST_1(( mapstaticmethods(Vector2f()) )); |
| 157 | CALL_SUBTEST_2(( mapstaticmethods(Vector3f()) )); |
| 158 | CALL_SUBTEST_2(( mapstaticmethods(Matrix2f()) )); |
| 159 | CALL_SUBTEST_3(( mapstaticmethods(Matrix4f()) )); |
| 160 | CALL_SUBTEST_3(( mapstaticmethods(Array4f()) )); |
| 161 | CALL_SUBTEST_4(( mapstaticmethods(Array3f()) )); |
| 162 | CALL_SUBTEST_4(( mapstaticmethods(Array33f()) )); |
| 163 | CALL_SUBTEST_5(( mapstaticmethods(Array44f()) )); |
| 164 | CALL_SUBTEST_5(( mapstaticmethods(VectorXf(1)) )); |
| 165 | CALL_SUBTEST_5(( mapstaticmethods(VectorXf(8)) )); |
| 166 | CALL_SUBTEST_6(( mapstaticmethods(MatrixXf(1,1)) )); |
| 167 | CALL_SUBTEST_6(( mapstaticmethods(MatrixXf(5,7)) )); |
| 168 | CALL_SUBTEST_7(( mapstaticmethods(ArrayXf(1)) )); |
| 169 | CALL_SUBTEST_7(( mapstaticmethods(ArrayXf(5)) )); |
| 170 | CALL_SUBTEST_8(( mapstaticmethods(ArrayXXf(1,1)) )); |
| 171 | CALL_SUBTEST_8(( mapstaticmethods(ArrayXXf(8,6)) )); |
| 172 | |
| 173 | internal::aligned_delete(ptr, 1000); |
| 174 | } |
| 175 |
nothing calls this directly
no test coverage detected