From: guido Date: Wed, 16 Feb 2000 17:50:47 +0000 (+0000) Subject: Timer check extended and accelerated X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49530a1f8f710a8cbf397d06a2529d86e2378bd1;p=dealii-svn.git Timer check extended and accelerated git-svn-id: https://svn.dealii.org/trunk@2425 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/base/timer.cc b/tests/base/timer.cc index 3d0e092ad2..81072350dd 100644 --- a/tests/base/timer.cc +++ b/tests/base/timer.cc @@ -44,19 +44,23 @@ int main () deallog.depth_console(0); Timer t1,t2; - burn (100); + burn (20); double s01 = t1.stop(); double s02 = t2(); - burn (100); + burn (20); double s11 = t1.stop(); double s12 = t2(); t1.start(); - burn (100); - double s21 = t1.stop(); + burn (20); + double s21 = t1(); double s22 = t2(); + burn (20); + double s31 = t1(); + double s32 = t2(); compare (s01,s02,1.); compare (s11,s12,2.); compare (s21,s22,3./2.); + compare (s31,s32,4./3.); } diff --git a/tests/base/timer.checked b/tests/base/timer.checked index fb71de2867..5f42bb230f 100644 --- a/tests/base/timer.checked +++ b/tests/base/timer.checked @@ -2,3 +2,4 @@ DEAL::OK DEAL::OK DEAL::OK +DEAL::OK