clTestCompetitionMortality Class Reference

This class tests the Mortality behavior. More...

#include <TestCompetitionMortality.h>

List of all members.

Public Member Functions

void TestMortality ()
 Tests normal processing mortality.

Private Member Functions

char * WriteXMLFile1 ()
 Writes a parameter file to direct testing using the first set of testing conditions.
char * WriteXMLFile2 ()
 Writes a bad parameter file: Passes a timestep >1 to this behavior.


Detailed Description

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.


Member Function Documentation

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.

char* clTestCompetitionMortality::WriteXMLFile1 (  )  [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.

Returns:
Filename written.

char* clTestCompetitionMortality::WriteXMLFile2 (  )  [private]

Writes a bad parameter file: Passes a timestep >1 to this behavior.

Returns:
Filename written.


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

Generated on Tue Apr 19 14:05:58 2011 for SORTIE C++ Test Documentation by  doxygen 1.5.6