SORTIE C++ Test Documentation
Public Member Functions | Protected Member Functions | List of all members
clTestLaggedPostHarvestGrowth Class Reference

Tests the clLaggedPostHarvestGrowth class. More...

#include <TestLaggedPostHarvestGrowth.h>

Inheritance diagram for clTestLaggedPostHarvestGrowth:

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.
 

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_oSimManagerSim manager object for doing the run.
const 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: