Tests the class clCrownRadiusReporter.
More...
#include <TestCrownRadiusReporter.h>
Tests the class clCrownRadiusReporter.
void clTestCrownRadiusReporter::TestCrownRadiusReporter |
( |
| ) |
|
Performs all the tests from one function.
void clTestCrownRadiusReporter::TestErrorProcessing |
( |
clSimManager * |
p_oSimManager | ) |
|
|
protected |
Tests error processing.
This uses WriteXMLErrorFile1() to introduce errors and makes sure that they are caught.
void clTestCrownRadiusReporter::TestNormalProcessingRun1 |
( |
clSimManager * |
p_oSimManager | ) |
|
|
protected |
Tests normal processing, run 1.
WriteXMLFile1() does setup. Several trees are created and their radii checked to make sure it's correct after each of two timesteps.
- Parameters
-
p_oSimManager | Sim Manager object to call for runs. |
const char* clTestCrownRadiusReporter::WriteXMLErrorFile1 |
( |
| ) |
|
|
protected |
Writes an error file where the behavior is applied to seedlings.
const char* clTestCrownRadiusReporter::WriteXMLFile1 |
( |
| ) |
|
|
protected |
Writes the parameter file for normal processing.
There are 3 species; timestep length is 1 year; there are two behaviors, growth and the crown radius reporter behavior.
- Returns
- Filename written.
The documentation for this class was generated from the following file: