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

Function test_stddeque_overload

test/stddeque_overload.cpp:131–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131void test_stddeque_overload()
132{
133 // some non vectorizable fixed sizes
134 CALL_SUBTEST_1(check_stddeque_matrix(Vector2f()));
135 CALL_SUBTEST_1(check_stddeque_matrix(Matrix3f()));
136 CALL_SUBTEST_2(check_stddeque_matrix(Matrix3d()));
137
138 // some vectorizable fixed sizes
139 CALL_SUBTEST_1(check_stddeque_matrix(Matrix2f()));
140 CALL_SUBTEST_1(check_stddeque_matrix(Vector4f()));
141 CALL_SUBTEST_1(check_stddeque_matrix(Matrix4f()));
142 CALL_SUBTEST_2(check_stddeque_matrix(Matrix4d()));
143
144 // some dynamic sizes
145 CALL_SUBTEST_3(check_stddeque_matrix(MatrixXd(1,1)));
146 CALL_SUBTEST_3(check_stddeque_matrix(VectorXd(20)));
147 CALL_SUBTEST_3(check_stddeque_matrix(RowVectorXf(20)));
148 CALL_SUBTEST_3(check_stddeque_matrix(MatrixXcf(10,10)));
149
150 // some Transform
151 CALL_SUBTEST_4(check_stddeque_transform(Affine2f())); // does not need the specialization (2+1)^2 = 9
152 CALL_SUBTEST_4(check_stddeque_transform(Affine3f()));
153 CALL_SUBTEST_4(check_stddeque_transform(Affine3d()));
154
155 // some Quaternion
156 CALL_SUBTEST_5(check_stddeque_quaternion(Quaternionf()));
157 CALL_SUBTEST_5(check_stddeque_quaternion(Quaterniond()));
158}

Callers

nothing calls this directly

Calls 3

check_stddeque_matrixFunction · 0.70
check_stddeque_transformFunction · 0.70

Tested by

no test coverage detected