Commit 08527a5d authored by Pavel Vainerman's avatar Pavel Vainerman

new test

parent 2d5083b8
......@@ -21,6 +21,17 @@ int main()
return 1;
}
PassiveTimer pt3(UniSetTimer::WaitUpTime);
cout << "pt3.getCurrent(): " << pt3.getCurrent() << endl;
msleep(3000);
int pt3_ms = pt3.getCurrent();
cout << "pt3.getCurrent(): " << pt3_ms << endl;
if( pt3_ms < 3000 )
{
cerr << "BAD getCurrent() function for WaitUpTime timer (pt3)" << endl;
return 1;
}
while(1)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment