MCPcopy Create free account
hub / github.com/davisking/dlib / perform_test

Method perform_test

dlib/test/te.cpp:479–503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

477 {}
478
479 void perform_test ()
480 {
481 test_type_erasure();
482 dlog << LINFO << "test_storage_basic<storage_heap>()";
483 test_storage_basic<storage_heap>();
484 dlog << LINFO << "test_storage_basic<storage_sbo<20>>()";
485 test_storage_basic<storage_sbo<20>>();
486 dlog << LINFO << "test_storage_basic<storage_stack<20>>()";
487 test_storage_basic<storage_stack<20>>();
488 dlog << LINFO << "test_storage_basic<storage_shared>()";
489 test_storage_basic<storage_shared>();
490 dlog << LINFO << "test_storage_basic<storage_view>()";
491 test_storage_basic<storage_view>();
492
493 test_function<dlib::any_function<int(int)>>();
494 test_function_view();
495 test_function_pointer<dlib::any_function_basic, storage_heap>();
496 test_function_pointer<dlib::any_function_basic, storage_stack<32>>();
497 test_function_pointer<dlib::any_function_basic, storage_sbo<32>>();
498 test_function_pointer<dlib::any_function_basic, storage_shared>();
499 test_member_pointer<dlib::any_function_basic, storage_heap>();
500 test_member_pointer<dlib::any_function_basic, storage_stack<32>>();
501 test_member_pointer<dlib::any_function_basic, storage_sbo<32>>();
502 test_member_pointer<dlib::any_function_basic, storage_shared>();
503 }
504 } a;
505}

Callers

nothing calls this directly

Calls 2

test_type_erasureFunction · 0.85
test_function_viewFunction · 0.85

Tested by

no test coverage detected