|
|
|
@ -183,10 +183,8 @@ private:
|
|
|
|
|
t.join();
|
|
|
|
|
|
|
|
|
|
// expected 800000 + 100 got 795510
|
|
|
|
|
// accurcy: ~ < 99.5%
|
|
|
|
|
// accurcy: ~ > 99.5%
|
|
|
|
|
TS_ASSERT_DELTA ( t.m_counter, 100 + freq * circle, (100 + freq * circle) * 0.995);
|
|
|
|
|
|
|
|
|
|
TS_ASSERT_EQUALS ( t.m_counter, 100 + freq * circle);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|