clTestSizeDepLogisticGrowth Class Reference

Tests the clSizeDepLogisticGrowth class. More...

#include <TestSizeDepLogisticGrowth.h>

List of all members.

Public Member Functions

void TestSizeDepLogisticGrowth ()
 Combines the testing into one behavior.

Protected Member Functions

void Test1YearPerTimestep (clSimManager *p_oSimManager)
 Tests the growth when the timestep length is one year.
void Test3YearsPerTimestep (clSimManager *p_oSimManager)
 Tests the growth when the timestep length is three years.
char * WriteXMLFile1 ()
 Writes a parameter file to direct testing.
char * WriteXMLFile2 ()
 Writes a parameter file to direct testing.


Detailed Description

Tests the clSizeDepLogisticGrowth class.

This tests it in all versions - as a diameter-only incrementer with no height updating, as a diameter incrementer with auto-height updating, and as a height incrementer.


Member Function Documentation

void clTestSizeDepLogisticGrowth::Test1YearPerTimestep ( clSimManager *  p_oSimManager  )  [protected]

Tests the growth when the timestep length is one year.

WriteXMLFile1() is used to set up the run. 8 trees are created of 2 species, assigned to all three growth types and with high and low GLIs. GLIs are assigned to them, and then growth is run. Their diameters, heights, and lgm values are checked to make sure they are correct.

Parameters:
p_oSimManager Sim manager object for doing the run.

void clTestSizeDepLogisticGrowth::Test3YearsPerTimestep ( clSimManager *  p_oSimManager  )  [protected]

Tests the growth when the timestep length is three years.

WriteXMLFile1() is used to set up the run. 8 trees are created of 2 species, assigned to all three growth types and with high and low GLIs. GLIs are assigned to them, and then growth is run. Their diameters, heights, and lgm values are checked to make sure they are correct.

Parameters:
p_oSimManager Sim manager object for doing the run.

char* clTestSizeDepLogisticGrowth::WriteXMLFile1 (  )  [protected]

Writes a parameter file to direct testing.

Timestep length is 1 year. This contains two species. Behaviors:

Returns:
Filename written.

char* clTestSizeDepLogisticGrowth::WriteXMLFile2 (  )  [protected]

Writes a parameter file to direct testing.

Timestep length is 3 years. This contains two species. Behaviors:

Returns:
Filename written.


The documentation for this class was generated from the following file:
Generated on Wed Nov 15 11:27:26 2006 for SORTIE C++ Test Documentation by  doxygen 1.4.7