Skip to content

Commit

Permalink
fix: remove testing shoutOperator
Browse files Browse the repository at this point in the history
Signed-off-by: slowy07 <[email protected]>
  • Loading branch information
slowy07 committed Aug 21, 2023
1 parent 9d42922 commit cd5ecce
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions clara_test/tests/classFunction/timer_testing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,6 @@ TEST(clara_timer_test, TimerTestMiliseconds) {
EXPECT_EQ(timer.get_milliseconds(), 1000);
}

TEST(clara_timer_test, OperatorShout) {
Timer<std::chrono::steady_clock, std::chrono::duration<double>> timer;
timer.tic();
std::this_thread::sleep_for(std::chrono::seconds(1));
timer.toc();

std::ostringstream os;
os << timer;
EXPECT_NE(os.str(), "1.00007");
}

TEST(clara_test, TimerTestDuration) {
Timer<std::chrono::steady_clock, std::chrono::duration<double>> timer;

Expand Down

0 comments on commit cd5ecce

Please sign in to comment.