#include <TestConstantGLI.h>
Public Member Functions | |
| void | TestConstantGLI () |
| Rolls together all the tests into one function. | |
Private Member Functions | |
| void | TestNormalProcessing (clSimManager *p_oSimManager) |
| Tests normal processing. | |
| void | TestErrorProcessing (clSimManager *p_oSimManager) |
| Tests error processing. | |
| char * | WriteXMLFile1 () |
| Writes a parameter file for normal proceessing. | |
| char * | WriteXMLErrorFile1 () |
| Writes an error file where the constant GLI is less than 0. | |
| 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). | |
| void clTestConstantGLI::TestConstantGLI | ( | ) |
Rolls together all the tests into one function.
| 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.
| p_oSimManager | Sim Manager to do runs. |
| void clTestConstantGLI::TestErrorProcessing | ( | clSimManager * | p_oSimManager | ) | [private] |
Tests error processing.
| p_oSimManager | Sim Manager to do runs. |
| 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.
| char* clTestConstantGLI::WriteXMLErrorFile1 | ( | ) | [private] |
Writes an error file where the constant GLI is less than 0.
| char* clTestConstantGLI::WriteXMLErrorFile2 | ( | ) | [private] |
Writes an error file where the constant GLI is greater than 100.
| void clTestConstantGLI::WriteCommonStuff | ( | std::fstream & | oOut | ) | [private] |
Writes common portions of the test parameter files (allometry and tree pop).
| oOut | File stream to write to. |
1.5.2