clTestGrowthHeightIncrementer Class Reference

Tests the clGrowthHeightIncrementer class. More...

#include <TestGrowthHeightIncrementer.h>

List of all members.

Public Member Functions

void TestGrowthHeightIncrementer ()
 Tests the clGrowthHeightIncrementer class.

Protected Member Functions

char * WriteXMLFile1 ()
 Writes a parameter file to direct testing.


Detailed Description

Tests the clGrowthHeightIncrementer class.

I'm also allowing this to form part of the test of clConstBAGrowth and clConstantRadialGrowth. Ironically, since I wrote this, this is also now partly a test of clGrowthOrg, and TestGrowthOrg is partly a test of clGrowthHeightIncrementer, because I switched some functionality between classes. But I am much too lazy to switch the test code too. After all, it's all there, right?


Member Function Documentation

void clTestGrowthHeightIncrementer::TestGrowthHeightIncrementer (  ) 

Tests the clGrowthHeightIncrementer class.

WriteXMLFile1() is used to do setup. Then, this will create four trees; two of the trees should have heights incremented to below the maximum tree canopy height, and two must be limited to the maximum tree canopy height. A timestep is run and the DBH and height are checked.

char* clTestGrowthHeightIncrementer::WriteXMLFile1 (  )  [protected]

Writes a parameter file to direct testing.

This contains two species, with either constant basal area or constant radial growth assigned.

Returns:
Filename written.


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