Testing if initialize successfully.
95 {
96
98
99 std::cout << "Hardware threads: " << nThreads << std::endl;
100
101 EXPECT_EQ(m_ThreadPool.GetInitThreadSize() ,nThreads );
102 EXPECT_EQ(m_ThreadPool.GetIdleThreadSize() ,nThreads );
104 EXPECT_EQ(m_ThreadPool.GetTasks() ,0 );
105 EXPECT_EQ(m_ThreadPool.GetThreadsCount() ,nThreads );
107 EXPECT_EQ(m_ThreadPool.IsPoolRunning() ,true );
108 }
#define SPICESTEST_PROFILE_FUNCTION()
constexpr uint32_t THREAD_MAX_IDLE_TIME