SORTIE C++ Test Documentation
|
Tests the clLaggedPostHarvestGrowth class. More...
#include <TestLaggedPostHarvestGrowth.h>
Public Member Functions | |
void | TestLaggedPostHarvestGrowth () |
Tests pre- and post-harvest growth over 4 timesteps with a timestep length of 2 years. | |
Protected Member Functions | |
const char * | WriteXMLFile () |
Writes a parameter file to direct testing. | |
Tests the clLaggedPostHarvestGrowth class.
void clTestLaggedPostHarvestGrowth::TestLaggedPostHarvestGrowth | ( | ) |
Tests pre- and post-harvest growth over 4 timesteps with a timestep length of 2 years.
10 identical trees are created and have growth applied to them. In the second timestep, 5 of these trees are harvested. The diameter of a representative tree is checked after each timestep to make sure it is correct.
p_oSimManager | Sim manager object for doing the run. |
|
protected |
Writes a parameter file to direct testing.