source: palm/trunk/UTIL/inifor/tests/test-prototype.f90 @ 4004

Last change on this file since 4004 was 3785, checked in by eckhard, 5 years ago

inifor: Removed unused variables, improved coding style

  • Property svn:keywords set to Id
File size: 1.8 KB
RevLine 
[2696]1!> @file tests/test-prototype.f90
2!------------------------------------------------------------------------------!
[2718]3! This file is part of the PALM model system.
[2696]4!
[2718]5! PALM is free software: you can redistribute it and/or modify it under the
6! terms of the GNU General Public License as published by the Free Software
7! Foundation, either version 3 of the License, or (at your option) any later
[2696]8! version.
9!
[2718]10! PALM is distributed in the hope that it will be useful, but WITHOUT ANY
11! WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12! A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
[2696]13!
14! You should have received a copy of the GNU General Public License along with
15! PALM. If not, see <http://www.gnu.org/licenses/>.
16!
[3785]17! Copyright 2017-2019 Leibniz Universitaet Hannover
18! Copyright 2017-2019 Deutscher Wetterdienst Offenbach
[2696]19!------------------------------------------------------------------------------!
20!
21! Current revisions:
22! -----------------
23!
[3183]24!
[2696]25! Former revisions:
26! -----------------
27! $Id: test-prototype.f90 3785 2019-03-06 10:41:14Z suehring $
[3183]28! Added usage hints
29!
30! 3182 2018-07-27 13:36:03Z suehring
[2696]31! Initial revision
32!
33!
34!
35! Authors:
36! --------
37! @author Eckhard Kadasch
38!
39! Description:
40! ------------
41!> This prototype test does nothing, but serves as a template for programming
42!> new INIFOR tests.
43!------------------------------------------------------------------------------!
44 PROGRAM test_prototype
45
46    USE test_utils
47   
48    IMPLICIT NONE
49
50    CHARACTER(LEN=*), PARAMETER ::  title = "Prototype"
51    LOGICAL                     ::  res
52
53    CALL begin_test(title, res)
54
55    ! Arange
[3182]56    !define parameters and reference values
[2696]57
58    ! Act
[3182]59    !compute result
[2696]60
61    ! Assert
[3182]62    !res = res .AND. assert_equal(<result_array>, <reference_array>, 'description')
[2696]63
64    CALL end_test(title, res)
65
66 END PROGRAM test_prototype
Note: See TracBrowser for help on using the repository browser.