-
Notifications
You must be signed in to change notification settings - Fork 0
/
TestSuppressionDurationMort.h
45 lines (38 loc) · 1.33 KB
/
TestSuppressionDurationMort.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//---------------------------------------------------------------------------
// TestSuppressionDurationMort_H
//---------------------------------------------------------------------------
#if !defined(TestSuppressionDurationMort_H)
#define TestSuppressionDurationMort_H
#include <fstream>
/**
* Tests the clSuppressionDurationMort class.
*/
/**
* Writes a parameter file for normal processing run 1.
* @return Filename written.
*/
const char* WriteSuppressionDurationMortXMLFile1();
/**
* Writes a parameter file where a value for max mortality probability
* is not between 0 and 1.
* @return Filename written.
*/
const char* WriteSuppressionDurationMortXMLErrorFile1();
/**
* Writes a parameter file where there is no tree age behavior.
* @return Filename written.
*/
const char* WriteSuppressionDurationMortXMLErrorFile2();
/**
* Writes a parameter file where a value for X0 is 0.
* @return Filename written.
*/
const char* WriteSuppressionDurationMortXMLErrorFile3();
/**
* Writes common portions of the test parameter files. This starts with
* <randomSeed> and ends with </allometry>.
* @param oOut File stream to write to.
*/
void WriteSuppressionDurationMortErrorCommonStuff(std::fstream &oOut);
#endif // TestSuppressionDurationMort_H
//---------------------------------------------------------------------------