iLand
tests.h
Go to the documentation of this file.
1/********************************************************************************************
2** iLand - an individual based forest landscape and disturbance model
3** http://iland-model.org
4** Copyright (C) 2009- Werner Rammer, Rupert Seidl
5**
6** This program is free software: you can redistribute it and/or modify
7** it under the terms of the GNU General Public License as published by
8** the Free Software Foundation, either version 3 of the License, or
9** (at your option) any later version.
10**
11** This program is distributed in the hope that it will be useful,
12** but WITHOUT ANY WARRANTY; without even the implied warranty of
13** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14** GNU General Public License for more details.
15**
16** You should have received a copy of the GNU General Public License
17** along with this program. If not, see <http://www.gnu.org/licenses/>.
18********************************************************************************************/
19
20#ifndef TESTS_H
21#define TESTS_H
22#include <QString>
23#include <QObject>
24#if QT_VERSION < 0x050000
25#include <QtGui>
26#else
27#include <QtWidgets>
28#endif
29
30
31class Climate;
32class Tests
33{
34public:
35 Tests(QObject *wnd);
36 void speedOfExpression();
37 void clearTrees();
38 void killTrees();
39 // climate
40 void climate();
41 void climateResponse();
42 // light based tests for multiple stands
43 void multipleLightRuns(const QString &fileName);
44 void testWater();
45 void testCSVFile();
46 void testXml();
47 void testRandom();
48 void testSeedDispersal();
51 void testEstablishment();
52 void testGridRunner();
53 void testSoil();
54 void testMap();
55 void testDEM();
56 void testFire();
57 void testWind();
58 void testRumple();
59 void testFOMEsetup();
60 void testFOMEstep();
62 void testGridIndexHack();
63 private:
64 QString dumpTreeList();
65 QObject *mParent;
66 private:
67 void testSun();
68 void testPheno(const Climate *clim);
69
70
71};
72
73#endif // TESTS_H
Climate handles climate input data and performs some basic related calculations on that data.
Definition: climate.h:66
Definition: tests.h:33
void testXml()
Definition: tests.cpp:72
void testRumple()
Definition: tests.cpp:1068
void speedOfExpression()
Definition: tests.cpp:100
void multipleLightRuns(const QString &fileName)
Definition: tests.cpp:319
void testSoil()
Definition: tests.cpp:843
void testFOMEstep()
Definition: tests.cpp:1098
void testFire()
Definition: tests.cpp:1005
Tests(QObject *wnd)
Definition: tests.cpp:64
void killTrees()
Definition: tests.cpp:175
void climateResponse()
Definition: tests.cpp:267
void testGridRunner()
Definition: tests.cpp:504
void testCSVFile()
Definition: tests.cpp:383
void testMultithreadExecute()
Definition: tests.cpp:685
void testRandom()
Definition: tests.cpp:393
void testFOMEsetup()
Definition: tests.cpp:1080
void testSeedDispersal()
Definition: tests.cpp:633
void clearTrees()
Definition: tests.cpp:154
void testMap()
Definition: tests.cpp:935
void testEstablishment()
Definition: tests.cpp:751
void testDbgEstablishment()
Definition: tests.cpp:1109
void testWind()
Definition: tests.cpp:1021
void climate()
Definition: tests.cpp:216
void testGridIndexHack()
Definition: tests.cpp:1255
void testWater()
Definition: tests.cpp:247
void testLinearExpressions()
Definition: tests.cpp:775
void testDEM()
Definition: tests.cpp:962