[fix] enhance strength about cpp testcase.

This commit is contained in:
liuxianliang 2022-05-13 10:40:32 +08:00 committed by guo
parent 9f5a9b6bc8
commit 75a55f2028
1 changed files with 8 additions and 0 deletions

View File

@ -31,6 +31,14 @@ static void test_thread(void)
uassert_false(1); uassert_false(1);
} }
std::thread t2(func);
t2.join();
if (count != 200)
{
uassert_false(1);
}
uassert_true(1); uassert_true(1);
} }