-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathTestGrowthOrg.h
50 lines (42 loc) · 1.65 KB
/
TestGrowthOrg.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
44
45
46
47
48
49
50
//---------------------------------------------------------------------------
#ifndef TestGrowthOrgH
#define TestGrowthOrgH
/**
* Tests the clGrowthOrg object. This specifically makes sure that auto-update
* diameter growth and separate diameter-height growth updating work correctly.
* The individual growth behaviors are tested elsewhere.
*/
/**
* Writes a parameter file to direct testing. This contains two species, with
* either constant basal area or constant radial growth assigned, with both
* auto-update and diameter and height increment setting done separately.
*
* @return Filename written.
*/
const char* WriteGrowthOrgXMLFile1();
/**
* Writes a parameter file to direct testing for normal processing run 2.
* This contains four species, with each one being assigned a diameter-height
* growth behavior combination that checks all possible precedence request
* situations.
* @return Filename written.
*/
const char* WriteGrowthOrgXMLFile2();
/**
* Writes a parameter file to direct testing for an intentionally triggered
* error. This file contains a tree species/type combo that has a diameter-
* only growth behavior without a corresponding height-only growth behavior.
*
* @return Filename written.
*/
const char* WriteGrowthOrgXMLErrorFile1();
/**
* Writes a parameter file to direct testing for an intentionally triggered
* error. This file contains a tree species/type combo that has a height-
* only growth behavior without a corresponding diameter-only growth behavior.
*
* @return Filename written.
*/
const char* WriteGrowthOrgXMLErrorFile2();
//---------------------------------------------------------------------------
#endif