clTestTree Class Reference

Tests the clTree class. More...

#include <TestTree.h>

List of all members.

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.


Detailed Description

Tests the clTree class.


Member Function Documentation

void clTestTree::TestAllometryUpdating clSimManager *  p_oSimManager  )  [protected]
 

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.

char* clTestTree::WriteXMLFile1  )  [protected]
 

Writes a parameter file to test trees.

Two species are used; the only difference between the two is the maximum seedling height.

Returns:
Filename written.


The documentation for this class was generated from the following file:
Generated on Mon Mar 27 15:13:46 2006 for SORTIE C++ Test Documentation by  doxygen 1.4.6-NO