MCPcopy Create free account
hub / github.com/avaxman/Directional / EIGEN_DECLARE_TEST

Function EIGEN_DECLARE_TEST

external/eigen/test/basicstuff.cpp:338–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336}
337
338EIGEN_DECLARE_TEST(basicstuff)
339{
340 for(int i = 0; i < g_repeat; i++) {
341 CALL_SUBTEST_1( basicStuff(Matrix<float, 1, 1>()) );
342 CALL_SUBTEST_2( basicStuff(Matrix4d()) );
343 CALL_SUBTEST_3( basicStuff(MatrixXcf(internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::random<int>(1,EIGEN_TEST_MAX_SIZE))) );
344 CALL_SUBTEST_4( basicStuff(MatrixXi(internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::random<int>(1,EIGEN_TEST_MAX_SIZE))) );
345 CALL_SUBTEST_5( basicStuff(MatrixXcd(internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::random<int>(1,EIGEN_TEST_MAX_SIZE))) );
346 CALL_SUBTEST_6( basicStuff(Matrix<float, 100, 100>()) );
347 CALL_SUBTEST_7( basicStuff(Matrix<long double,Dynamic,Dynamic>(internal::random<int>(1,EIGEN_TEST_MAX_SIZE),internal::random<int>(1,EIGEN_TEST_MAX_SIZE))) );
348 CALL_SUBTEST_8( casting_all() );
349
350 CALL_SUBTEST_3( basicStuffComplex(MatrixXcf(internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::random<int>(1,EIGEN_TEST_MAX_SIZE))) );
351 CALL_SUBTEST_5( basicStuffComplex(MatrixXcd(internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::random<int>(1,EIGEN_TEST_MAX_SIZE))) );
352 }
353
354 CALL_SUBTEST_1(fixedSizeMatrixConstruction<unsigned char>());
355 CALL_SUBTEST_1(fixedSizeMatrixConstruction<float>());
356 CALL_SUBTEST_1(fixedSizeMatrixConstruction<double>());
357 CALL_SUBTEST_1(fixedSizeMatrixConstruction<int>());
358 CALL_SUBTEST_1(fixedSizeMatrixConstruction<long int>());
359 CALL_SUBTEST_1(fixedSizeMatrixConstruction<std::ptrdiff_t>());
360}

Callers

nothing calls this directly

Calls 3

basicStuffFunction · 0.85
casting_allFunction · 0.85
basicStuffComplexFunction · 0.85

Tested by

no test coverage detected