test25.f90 Source File


This file depends on

sourcefile~~test25.f90~~EfferentGraph sourcefile~test25.f90 test25.f90 sourcefile~fortime.f90 fortime.f90 sourcefile~test25.f90->sourcefile~fortime.f90

Source Code

program test25

   use kinds
   use fortime
   use forunittest

   implicit none

   type(timer) :: t
   type(unit_test) :: ut


   ! Elapsed time
   call t%dtimer_start()
      call sleep(1) ! Perform operations here
   call t%dtimer_stop()

   call ut%check(res=t%elapsed_dtime, expected=1.0_rk, tol=1.0e-1_rk, msg='test25')

end program test25