MCPcopy Create free account
hub / github.com/Derious/cuMPC / EIGEN_DECLARE_TEST

Function EIGEN_DECLARE_TEST

dependence/eigen-3.4.0/test/array_reverse.cpp:189–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189EIGEN_DECLARE_TEST(array_reverse)
190{
191 for(int i = 0; i < g_repeat; i++) {
192 CALL_SUBTEST_1( reverse(Matrix<float, 1, 1>()) );
193 CALL_SUBTEST_2( reverse(Matrix2f()) );
194 CALL_SUBTEST_3( reverse(Matrix4f()) );
195 CALL_SUBTEST_4( reverse(Matrix4d()) );
196 CALL_SUBTEST_5( reverse(MatrixXcf(internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::random<int>(1,EIGEN_TEST_MAX_SIZE))) );
197 CALL_SUBTEST_6( reverse(MatrixXi(internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::random<int>(1,EIGEN_TEST_MAX_SIZE))) );
198 CALL_SUBTEST_7( reverse(MatrixXcd(internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::random<int>(1,EIGEN_TEST_MAX_SIZE))) );
199 CALL_SUBTEST_8( reverse(Matrix<float, 100, 100>()) );
200 CALL_SUBTEST_9( reverse(Matrix<float,Dynamic,Dynamic,RowMajor>(internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::random<int>(1,EIGEN_TEST_MAX_SIZE))) );
201 CALL_SUBTEST_3( bug1684<0>() );
202 }
203 CALL_SUBTEST_3( array_reverse_extra<0>() );
204}

Callers

nothing calls this directly

Calls 1

reverseFunction · 0.85

Tested by

no test coverage detected