MCPcopy Create free account
hub / github.com/davisking/dlib / ~test2

Method ~test2

dlib/test/multithreaded_object.cpp:76–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 }
75
76 ~test2()
77 {
78 DLIB_TEST(number_of_threads_registered() == 1);
79 DLIB_TEST(number_of_threads_alive() == 0);
80 DLIB_TEST(is_running() == false);
81 stop();
82 DLIB_TEST(number_of_threads_registered() == 1);
83 DLIB_TEST(number_of_threads_alive() == 0);
84 DLIB_TEST(is_running() == false);
85 wait();
86 DLIB_TEST(number_of_threads_registered() == 1);
87 DLIB_TEST(number_of_threads_alive() == 0);
88 DLIB_TEST(is_running() == false);
89 }
90
91 private:
92

Callers

nothing calls this directly

Calls 1

stopFunction · 0.85

Tested by

no test coverage detected