!! Copyright (C) Stichting Deltares, 2012-2019. !! !! This program is free software: you can redistribute it and/or modify !! it under the terms of the GNU General Public License version 3, !! as published by the Free Software Foundation. !! !! This program is distributed in the hope that it will be useful, !! but WITHOUT ANY WARRANTY; without even the implied warranty of !! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the !! GNU General Public License for more details. !! !! You should have received a copy of the GNU General Public License !! along with this program. If not, see . !! !! contact: delft3d.support@deltares.nl !! Stichting Deltares !! P.O. Box 177 !! 2600 MH Delft, The Netherlands !! !! All indications and logos of, and references to registered trademarks !! of Stichting Deltares remain the property of Stichting Deltares. All !! rights reserved. program test_waq_utils use ftnunit use basic_tests implicit none call prepareTests call runtests_init ! ! Tests for ZOEK.F ! call tests_zoek ! ! Done - properly finalize ! call runtests_final call showResult contains !> Routine to start the testing !! Note: This routine merely takes care that the unit tests are indeed run subroutine prepareTests integer :: lun !< LU-number open( newunit=lun, file = 'ftnunit.run' ) write( lun, '(a)' ) 'ALL' close( lun ) end subroutine prepareTests !> Start the browser to show the result !! subroutine showResult !character(len=1) :: answer ! !write(*,*) 'Press ENTER ...' !read(*,'(a)' ) answer call system( 'ftnunit.html' ) end subroutine showResult end program test_waq_utils