Tests the clConstantGLI class.
More...
#include <TestConstantGLI.h>
|
| void | TestNormalProcessing (clSimManager *p_oSimManager) |
| | Tests normal processing.
|
| |
| void | TestErrorProcessing (clSimManager *p_oSimManager) |
| | Tests error processing.
|
| |
| const char * | WriteXMLFile1 () |
| | Writes a parameter file for normal proceessing.
|
| |
| const char * | WriteXMLErrorFile1 () |
| | Writes an error file where the constant GLI is less than 0.
|
| |
| const char * | WriteXMLErrorFile2 () |
| | Writes an error file where the constant GLI is greater than 100.
|
| |
| void | WriteCommonStuff (std::fstream &oOut) |
| | Writes common portions of the test parameter files (allometry and tree pop).
|
| |
Tests the clConstantGLI class.
| void clTestConstantGLI::TestConstantGLI |
( |
| ) |
|
Rolls together all the tests into one function.
| void clTestConstantGLI::TestErrorProcessing |
( |
clSimManager * |
p_oSimManager | ) |
|
|
private |
Tests error processing.
- Parameters
-
| p_oSimManager | Sim Manager to do runs. |
| void clTestConstantGLI::TestNormalProcessing |
( |
clSimManager * |
p_oSimManager | ) |
|
|
private |
Tests normal processing.
This checks that GLI is correctly assigned to the trees to which the behavior applies. WriteXMLFile1() does setup.
- Parameters
-
| p_oSimManager | Sim Manager to do runs. |
| void clTestConstantGLI::WriteCommonStuff |
( |
std::fstream & |
oOut | ) |
|
|
private |
Writes common portions of the test parameter files (allometry and tree pop).
- Parameters
-
| oOut | File stream to write to. |
| const char* clTestConstantGLI::WriteXMLErrorFile1 |
( |
| ) |
|
|
private |
Writes an error file where the constant GLI is less than 0.
- Returns
- File name of the freshly written parameter file.
| const char* clTestConstantGLI::WriteXMLErrorFile2 |
( |
| ) |
|
|
private |
Writes an error file where the constant GLI is greater than 100.
- Returns
- File name of the freshly written parameter file.
| const char* clTestConstantGLI::WriteXMLFile1 |
( |
| ) |
|
|
private |
Writes a parameter file for normal proceessing.
There are three species, and the constant GLI behavior is applied to species 2 and 3.
- Returns
- Filename written.
The documentation for this class was generated from the following file: