diff --git a/base_cpp/test/thread_test.cc b/base_cpp/test/thread_test.cc index 34ea2be..f8af461 100644 --- a/base_cpp/test/thread_test.cc +++ b/base_cpp/test/thread_test.cc @@ -61,6 +61,9 @@ void ThreadTest::TestStartingAndJoining() { embb::base::Thread thread2(ThreadTest::StaticThreadStartArg1, arg1); double arg2 = 3.0; embb::base::Thread thread3(ThreadTest::StaticThreadStartArg2, arg1, arg2); + embb::base::Thread::ID thread3id; + thread3id = thread3.GetID(); + PT_EXPECT_EQ(thread3id, thread3.GetID()); // Non-static member start methods with functor MemberStart start4(&ThreadTest::ThreadStart, this);