Tests the clStormLight class.
More...
#include <TestStormLight.h>
|
void | TestStormLight () |
| Rolls together all the tests into one function.
|
|
|
void | NormalProcessingRun1 (clSimManager *p_oSimManager) |
| Tests normal processing - run 1.
|
|
void | NormalProcessingRun2 (clSimManager *p_oSimManager) |
| Tests normal processing - run 2.
|
|
void | TestErrorProcessing (clSimManager *p_oSimManager) |
| Tests error processing.
|
|
const char * | WriteXMLFile1 () |
| Writes a parameter file for normal proceessing run 1.
|
|
const char * | WriteXMLFile2 () |
| Writes a parameter file for normal proceessing run 1.
|
|
const char * | WriteXMLErrorFile1 () |
| Writes an error file where the minimum number of trees for a full canopy is less than 0.
|
|
Tests the clStormLight class.
void clTestStormLight::NormalProcessingRun1 |
( |
clSimManager * |
p_oSimManager | ) |
|
|
private |
Tests normal processing - run 1.
This run uses a deterministic light level and puts in a given set of trees, both with and without storm damage. This then checks the light values in select cells to make sure that the proper values are set. WriteXMLFile1() does setup.
- Parameters
-
p_oSimManager | Sim Manager to do runs. |
void clTestStormLight::NormalProcessingRun2 |
( |
clSimManager * |
p_oSimManager | ) |
|
|
private |
Tests normal processing - run 2.
This run uses a deterministic light level but no snags in the run. This puts in a given set of trees, both with and without storm damage. This then checks the light values in select cells to make sure that the proper values are set. WriteXMLFile2() does setup.
- Parameters
-
p_oSimManager | Sim Manager to do runs. |
void clTestStormLight::TestErrorProcessing |
( |
clSimManager * |
p_oSimManager | ) |
|
|
private |
Tests error processing.
- Parameters
-
p_oSimManager | Sim Manager to do runs. |
void clTestStormLight::TestStormLight |
( |
| ) |
|
Rolls together all the tests into one function.
const char* clTestStormLight::WriteXMLErrorFile1 |
( |
| ) |
|
|
private |
Writes an error file where the minimum number of trees for a full canopy is less than 0.
- Returns
- File name of the freshly written parameter file.
const char* clTestStormLight::WriteXMLFile1 |
( |
| ) |
|
|
private |
Writes a parameter file for normal proceessing run 1.
This has the storm and storm damage appliers, a mortality behavior to satisfy storm requirements, and the storm light behavior. The timestep length is 1 year.
- Returns
- Filename written.
const char* clTestStormLight::WriteXMLFile2 |
( |
| ) |
|
|
private |
Writes a parameter file for normal proceessing run 1.
This has the storm and storm damage appliers, a mortality behavior to satisfy storm requirements, and the storm light behavior. The timestep length is 1 year.
- Returns
- Filename written.
The documentation for this class was generated from the following file: