clTestLaggedPostHarvestGrowth Class Reference

Tests the clLaggedPostHarvestGrowth class. More...

#include <TestLaggedPostHarvestGrowth.h>

List of all members.

Public Member Functions

void TestLaggedPostHarvestGrowth ()
 Tests pre- and post-harvest growth over 4 timesteps with a timestep length of 2 years.

Protected Member Functions

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


Detailed Description

Tests the clLaggedPostHarvestGrowth class.

Member Function Documentation

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.

Parameters:
p_oSimManager Sim manager object for doing the run.

char* clTestLaggedPostHarvestGrowth::WriteXMLFile (  )  [protected]

Writes a parameter file to direct testing.

Returns:
Filename written.


The documentation for this class was generated from the following file:

Generated on Wed Oct 28 14:03:21 2009 for SORTIE C++ Test Documentation by  doxygen 1.5.6