#include <TestGrowthHeightIncrementer.h>
Public Member Functions | |
void | TestGrowthHeightIncrementer () |
Tests the clGrowthHeightIncrementer class. | |
Protected Member Functions | |
char * | WriteXMLFile1 () |
Writes a parameter file to direct testing. |
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?
|
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. |
|
Writes a parameter file to direct testing. This contains two species, with either constant basal area or constant radial growth assigned.
|