From: Guillermo Rodriguez Garcia Date: Mon, 6 Mar 2000 15:08:17 +0000 (+0000) Subject: Slight changes to the stopwatch test X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/89e6463c1a4d9f9a859798255c5ed7fbcb33105f Slight changes to the stopwatch test git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/console/console.cpp b/samples/console/console.cpp index a845e71b01..3704299795 100644 --- a/samples/console/console.cpp +++ b/samples/console/console.cpp @@ -755,9 +755,13 @@ static void TestStopWatch() for ( size_t n = 0; n < 70; n++ ) { sw2.Start(); - if ( sw.Time() < 0 || sw2.Time() < 0 ) + + for ( size_t m = 0; m < 100000; m++ ) { - puts("\ntime is negative - ERROR!"); + if ( sw.Time() < 0 || sw2.Time() < 0 ) + { + puts("\ntime is negative - ERROR!"); + } } putchar('.');