#include <TestTree.h>
Public Member Functions | |
void | TestTree () |
Groups together all the tree testing functions into a comprehensive test. | |
Protected Member Functions | |
void | TestAllometryUpdating (clSimManager *p_oSimManager) |
Verifies that allometry is updated correctly. | |
char * | WriteXMLFile1 () |
Writes a parameter file to test trees. |
|
Verifies that allometry is updated correctly. (This is really more of a test of a clTreePopulation function, but that test unit is getting awfully crowded.) WriteXMLFile1() is used to create a run. A seedling, a sapling, and an adult are created, and then height and diameter are changed both with the allometry to be updated and without. This also tests transitions between the life history stages. |
|
Writes a parameter file to test trees. Two species are used; the only difference between the two is the maximum seedling height.
|