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

Function test_stdvector

test/stdvector.cpp:120–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120void test_stdvector()
121{
122 // some non vectorizable fixed sizes
123 CALL_SUBTEST_1(check_stdvector_matrix(Vector2f()));
124 CALL_SUBTEST_1(check_stdvector_matrix(Matrix3f()));
125 CALL_SUBTEST_2(check_stdvector_matrix(Matrix3d()));
126
127 // some vectorizable fixed sizes
128 CALL_SUBTEST_1(check_stdvector_matrix(Matrix2f()));
129 CALL_SUBTEST_1(check_stdvector_matrix(Vector4f()));
130 CALL_SUBTEST_1(check_stdvector_matrix(Matrix4f()));
131 CALL_SUBTEST_2(check_stdvector_matrix(Matrix4d()));
132
133 // some dynamic sizes
134 CALL_SUBTEST_3(check_stdvector_matrix(MatrixXd(1,1)));
135 CALL_SUBTEST_3(check_stdvector_matrix(VectorXd(20)));
136 CALL_SUBTEST_3(check_stdvector_matrix(RowVectorXf(20)));
137 CALL_SUBTEST_3(check_stdvector_matrix(MatrixXcf(10,10)));
138
139 // some Transform
140 CALL_SUBTEST_4(check_stdvector_transform(Projective2f()));
141 CALL_SUBTEST_4(check_stdvector_transform(Projective3f()));
142 CALL_SUBTEST_4(check_stdvector_transform(Projective3d()));
143 //CALL_SUBTEST(heck_stdvector_transform(Projective4d()));
144
145 // some Quaternion
146 CALL_SUBTEST_5(check_stdvector_quaternion(Quaternionf()));
147 CALL_SUBTEST_5(check_stdvector_quaternion(Quaterniond()));
148}

Callers

nothing calls this directly

Calls 3

check_stdvector_matrixFunction · 0.70

Tested by

no test coverage detected