Skip to content

Commit

Permalink
Relax timer.measure_and_compare timings
Browse files Browse the repository at this point in the history
  • Loading branch information
pwojcikdev committed Jan 31, 2024
1 parent 47654f4 commit 16a37b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nano/core_test/timer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ TEST (timer, measure_and_compare)
std::this_thread::sleep_for (50ms);
ASSERT_TRUE (t1.after_deadline (30ms));
ASSERT_TRUE (t1.before_deadline (500ms));
ASSERT_LT (t1.since_start (), 200ms);
ASSERT_LT (t1.since_start (), 500ms);
ASSERT_GT (t1.since_start (), 10ms);
ASSERT_GE (t1.stop (), 50ms);
std::this_thread::sleep_for (50ms);
Expand Down

0 comments on commit 16a37b8

Please sign in to comment.