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

Function test_qtvector

test/qtvector.cpp:130–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130void test_qtvector()
131{
132 // some non vectorizable fixed sizes
133 CALL_SUBTEST(check_qtvector_matrix(Vector2f()));
134 CALL_SUBTEST(check_qtvector_matrix(Matrix3f()));
135 CALL_SUBTEST(check_qtvector_matrix(Matrix3d()));
136
137 // some vectorizable fixed sizes
138 CALL_SUBTEST(check_qtvector_matrix(Matrix2f()));
139 CALL_SUBTEST(check_qtvector_matrix(Vector4f()));
140 CALL_SUBTEST(check_qtvector_matrix(Matrix4f()));
141 CALL_SUBTEST(check_qtvector_matrix(Matrix4d()));
142
143 // some dynamic sizes
144 CALL_SUBTEST(check_qtvector_matrix(MatrixXd(1,1)));
145 CALL_SUBTEST(check_qtvector_matrix(VectorXd(20)));
146 CALL_SUBTEST(check_qtvector_matrix(RowVectorXf(20)));
147 CALL_SUBTEST(check_qtvector_matrix(MatrixXcf(10,10)));
148
149 // some Transform
150 CALL_SUBTEST(check_qtvector_transform(Affine2f()));
151 CALL_SUBTEST(check_qtvector_transform(Affine3f()));
152 CALL_SUBTEST(check_qtvector_transform(Affine3d()));
153 //CALL_SUBTEST(check_qtvector_transform(Transform4d()));
154
155 // some Quaternion
156 CALL_SUBTEST(check_qtvector_quaternion(Quaternionf()));
157 CALL_SUBTEST(check_qtvector_quaternion(Quaternionf()));
158}

Callers

nothing calls this directly

Calls 3

check_qtvector_matrixFunction · 0.85
check_qtvector_transformFunction · 0.85

Tested by

no test coverage detected