This class tests the germination behavior.
More...
#include <TestGermination.h>
This class tests the germination behavior.
It writes out parameter files and uses them as input to perform setup; it then sets up the desired initial conditions, causes the behavior to run, then tests its output. There will be one normal processing run and two error runs.
void clTestGermination::TestGermination |
( |
| ) |
|
Tests normal processing germination.
It will cause a parameter file to be written and then passed to a clSimManager object. This object will read it. The germination behavior is run and seedlings counted.
void clTestGermination::TestGerminationErrorProcessing |
( |
clSimManager * |
p_oSimManager | ) |
|
|
private |
This tests the two error processing files.
- Parameters
-
p_oSimManager | Sim Manager object. |
void clTestGermination::TestGerminationNormalProcessing |
( |
clSimManager * |
p_oSimManager | ) |
|
|
private |
Tests normal processing.
- Parameters
-
p_oSimManager | Sim Manager object. |
void clTestGermination::VerifyXMLFile1 |
( |
clGrid * |
p_oSeedGrid | ) |
|
|
private |
Verifies the seedling counts for TestGermination.
- Parameters
-
p_oSeedGrid | Dispersed seeds grid. |
const char* clTestGermination::WriteXMLErrorFile1 |
( |
| ) |
|
|
private |
Writes a parameter file with a germination parameter less than 0.
- Returns
- Filename written.
const char* clTestGermination::WriteXMLErrorFile2 |
( |
| ) |
|
|
private |
Writes a parameter file with a germination parameter greater than 1.
- Returns
- Filename written.
const char* clTestGermination::WriteXMLFile1 |
( |
| ) |
|
|
private |
Writes a parameter file to direct testing using the first set of testing conditions.
This contains all tree information and disperse information. It also has a tree map so we'll be dealing with a known list of trees.
- Returns
- Filename written.
The documentation for this class was generated from the following file: