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

Function test_nesting_ops

test/nesting_ops.cpp:94–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92
93
94void test_nesting_ops()
95{
96 CALL_SUBTEST_1(run_nesting_ops_1(MatrixXf::Random(25,25)));
97 CALL_SUBTEST_2(run_nesting_ops_1(MatrixXcd::Random(25,25)));
98 CALL_SUBTEST_3(run_nesting_ops_1(Matrix4f::Random()));
99 CALL_SUBTEST_4(run_nesting_ops_1(Matrix2d::Random()));
100
101 Index s = internal::random<int>(1,EIGEN_TEST_MAX_SIZE);
102 CALL_SUBTEST_1( run_nesting_ops_2(MatrixXf(s,s)) );
103 CALL_SUBTEST_2( run_nesting_ops_2(MatrixXcd(s,s)) );
104 CALL_SUBTEST_3( run_nesting_ops_2(Matrix4f()) );
105 CALL_SUBTEST_4( run_nesting_ops_2(Matrix2d()) );
106 TEST_SET_BUT_UNUSED_VARIABLE(s)
107}

Callers

nothing calls this directly

Calls 2

run_nesting_ops_1Function · 0.85
run_nesting_ops_2Function · 0.85

Tested by

no test coverage detected