sua file cmakelists

This commit is contained in:
2025-11-06 15:55:36 +07:00
parent 0cd8217bc5
commit f2522a313a
44 changed files with 281 additions and 337 deletions

View File

@@ -565,10 +565,12 @@ TEST(Duration, sleepWithSignal)
#endif
Time start = Time::now();
Duration d(5.0);
std::cout << "start: " << start << std::endl;
Duration d(10.0);
bool rc = d.sleep();
// std::cout << "rc: " << rc << std::endl;
// std::cout << "start: " << start << std::endl;
Time end = Time::now();
std::cout << "end: " << end << std::endl;
ASSERT_GT(end - start, d);
ASSERT_TRUE(rc);