#include <TestBoleVolumeCalculator.h>
Public Member Functions | |
void | TestBoleVolumeCalculator () |
Performs all the tests from one function. | |
Protected 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 processing. | |
char * | WriteXMLErrorFile1 () |
Writes an error file where a form class value is less than 60. | |
char * | WriteXMLErrorFile2 () |
Writes an error file where a form class value is greater than 100. | |
char * | WriteXMLErrorFile3 () |
Writes an error file where the volume behavior is applied to seedlings. | |
void | WriteCommonStuff (std::fstream &oOut) |
Writes common portions of the test parameter files (tree pop, plot, etc). |
|
Tests error processing. This uses WriteXMLErrorFile1(), WriteXMLErrorFile2(), and WriteXMLErrorFile3() to introduce errors and make sure that they are caught.
|
|
Tests normal processing. WriteXMLFile1() does setup. Then 87 trees are created. A simulation is run for one timestep then the volume checked for all those trees.
|
|
Writes common portions of the test parameter files (tree pop, plot, etc). Ends with </trees>.
|
|
Writes an error file where a form class value is less than 60.
|
|
Writes an error file where a form class value is greater than 100.
|
|
Writes an error file where the volume behavior is applied to seedlings.
|
|
Writes a parameter file for normal processing. There are 8 species (of which 7 are used), and the bole volume behavior is the only one in the run.
|