source: palm/tags/release-6.0/UTIL/inifor/tests/test-prototype.f90 @ 3862

Last change on this file since 3862 was 3183, checked in by suehring, 6 years ago

last commit documented

  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1!> @file tests/test-prototype.f90
2!------------------------------------------------------------------------------!
3! This file is part of the PALM model system.
4!
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
8! version.
9!
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.
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!
17! Copyright 2017-2018 Leibniz Universitaet Hannover
18! Copyright 2017-2018 Deutscher Wetterdienst Offenbach
19!------------------------------------------------------------------------------!
20!
21! Current revisions:
22! -----------------
23!
24!
25! Former revisions:
26! -----------------
27! $Id: test-prototype.f90 3183 2018-07-27 14:25:55Z banzhafs $
28! Added usage hints
29!
30! 3182 2018-07-27 13:36:03Z suehring
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
56    !define parameters and reference values
57
58    ! Act
59    !compute result
60
61    ! Assert
62    !res = res .AND. assert_equal(<result_array>, <reference_array>, 'description')
63
64    CALL end_test(title, res)
65
66 END PROGRAM test_prototype
Note: See TracBrowser for help on using the repository browser.