Fix testrunner compiling

This commit is contained in:
Daniel Marjamäki 2018-06-16 22:28:14 +02:00
parent 4f34a5145f
commit e08859e329
1 changed files with 2 additions and 2 deletions

View File

@ -35,10 +35,10 @@ private:
void result() const {
TimerResultsData t1;
t1._clocks = ~(std::clock_t)0;
t1.mClocks = ~(std::clock_t)0;
ASSERT(t1.seconds() > 100.0);
t1._clocks = CLOCKS_PER_SEC * 5 / 2;
t1.mClocks = CLOCKS_PER_SEC * 5 / 2;
ASSERT(std::fabs(t1.seconds()-2.5) < 0.01);
}
};