SORTIE C++ Test Documentation
|
This class tests the Mortality behavior. More...
#include <TestCompetitionMortality.h>
Public Member Functions | |
void | TestMortality () |
Tests normal processing mortality. | |
Private Member Functions | |
const char * | WriteXMLFile1 () |
Writes a parameter file to direct testing using the first set of testing conditions. | |
const char * | WriteXMLFile2 () |
Writes a bad parameter file: Passes a timestep >1 to this behavior. | |
This class tests the Mortality behavior.
It writes out parameter files and uses them as input to perform setup; it then sets up the desired initial conditions, causes the behavior to run, then tests its output. There will be one normal processing run and two error runs.
void clTestCompetitionMortality::TestMortality | ( | ) |
Tests normal processing mortality.
It will cause a parameter file to be written and then passed to a clSimManager object. This object will read it. The Mortality behavior is run and seedlings counted.
|
private |
Writes a parameter file to direct testing using the first set of testing conditions.
This contains all tree information and disperse information. It also has a tree map so we'll be dealing with a known list of trees.
|
private |
Writes a bad parameter file: Passes a timestep >1 to this behavior.