Slight changes to the stopwatch test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
67c0489076
commit
89e6463c1a
@ -755,10 +755,14 @@ static void TestStopWatch()
|
|||||||
for ( size_t n = 0; n < 70; n++ )
|
for ( size_t n = 0; n < 70; n++ )
|
||||||
{
|
{
|
||||||
sw2.Start();
|
sw2.Start();
|
||||||
|
|
||||||
|
for ( size_t m = 0; m < 100000; m++ )
|
||||||
|
{
|
||||||
if ( sw.Time() < 0 || sw2.Time() < 0 )
|
if ( sw.Time() < 0 || sw2.Time() < 0 )
|
||||||
{
|
{
|
||||||
puts("\ntime is negative - ERROR!");
|
puts("\ntime is negative - ERROR!");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
putchar('.');
|
putchar('.');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user