Fix testrunner compiling
This commit is contained in:
parent
4f34a5145f
commit
e08859e329
|
@ -35,10 +35,10 @@ private:
|
||||||
|
|
||||||
void result() const {
|
void result() const {
|
||||||
TimerResultsData t1;
|
TimerResultsData t1;
|
||||||
t1._clocks = ~(std::clock_t)0;
|
t1.mClocks = ~(std::clock_t)0;
|
||||||
ASSERT(t1.seconds() > 100.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);
|
ASSERT(std::fabs(t1.seconds()-2.5) < 0.01);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue