#include <TestCrownRadiusReporter.h>
Public Member Functions | |
| void | TestCrownRadiusReporter () |
| Performs all the tests from one function. | |
Protected Member Functions | |
| void | TestNormalProcessingRun1 (clSimManager *p_oSimManager) |
| Tests normal processing, run 1. | |
| void | TestErrorProcessing (clSimManager *p_oSimManager) |
| Tests error processing. | |
| char * | WriteXMLFile1 () |
| Writes the parameter file for normal processing. | |
| char * | WriteXMLErrorFile1 () |
| Writes an error file where the behavior is applied to seedlings. | |
| void clTestCrownRadiusReporter::TestCrownRadiusReporter | ( | ) |
Performs all the tests from one function.
| 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.
| p_oSimManager | Sim Manager object to call for runs. |
| void clTestCrownRadiusReporter::TestErrorProcessing | ( | clSimManager * | p_oSimManager | ) | [protected] |
Tests error processing.
This uses WriteXMLErrorFile1() to introduce errors and makes sure that they are caught.
| 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.
| char* clTestCrownRadiusReporter::WriteXMLErrorFile1 | ( | ) | [protected] |
Writes an error file where the behavior is applied to seedlings.
1.5.6