#include #include "probe.h" #include #include #include #include #include #include #include #include "config.h" #include #include "quill/LogMacros.h" std::string TEST_CONFIG = std::string(getenv("MESON_SOURCE_ROOT")) + "/tests/testsConfig.yaml"; class probeTest : public ::testing::Test {}; TEST_F(probeTest, waitTest) { auto start = std::chrono::high_resolution_clock::now(); serif::probe::wait(1); auto end = std::chrono::high_resolution_clock::now(); std::chrono::duration elapsed = end - start; EXPECT_LE(elapsed.count(), 1.1); }