clTestDensitySelfThinning Class Reference

Tests DensitySelfThinning. More...

#include <TestDensitySelfThinning.h>

List of all members.

Public Member Functions

void TestDensitySelfThinning ()
 Tests the Density Self Thinning behavior.

Protected Member Functions

void TestNormalProcessing (clSimManager *p_oSimManager)
 Tests normal processing using WriteXMLFile1().
void TestErrorProcessing (clSimManager *p_oSimManager)
 Tests error processing by using each of the Error XML files and then checking to see if the correct error is triggered.
char * WriteXMLFile1 ()
 Writes a parameter file with legal parameter values for the behavior.
char * WriteXMLErrorFile1 ()
 Writes a parameter file with a timestep greater than 1.
char * WriteXMLErrorFile2 ()
 Writes a parameter file that passes adults to the behavior.
char * WriteXMLErrorFile3 ()
 Writes a parameter file with a negative SelfThinRadius parameter.
char * WriteXMLErrorFile4 ()
 Writes a parameter file with a negative MinDensityForMort parameter.
char * WriteXMLErrorFile5 ()
 Writes a parameter file with a negative SelfThinAsymptote parameter.
char * WriteXMLErrorFile6 ()
 Writes a parameter file with a negative SelfThinDensityEffect parameter.


Detailed Description

Tests DensitySelfThinning.

Authors:
Marissa LeBlanc and Rasmus Astrup

Member Function Documentation

void clTestDensitySelfThinning::TestDensitySelfThinning (  ) 

Tests the Density Self Thinning behavior.

Tests both normal and error processing.

void clTestDensitySelfThinning::TestNormalProcessing ( clSimManager *  p_oSimManager  )  [protected]

Tests normal processing using WriteXMLFile1().

void clTestDensitySelfThinning::TestErrorProcessing ( clSimManager *  p_oSimManager  )  [protected]

Tests error processing by using each of the Error XML files and then checking to see if the correct error is triggered.

char* clTestDensitySelfThinning::WriteXMLFile1 (  )  [protected]

Writes a parameter file with legal parameter values for the behavior.

char* clTestDensitySelfThinning::WriteXMLErrorFile1 (  )  [protected]

Writes a parameter file with a timestep greater than 1.

char* clTestDensitySelfThinning::WriteXMLErrorFile2 (  )  [protected]

Writes a parameter file that passes adults to the behavior.

char* clTestDensitySelfThinning::WriteXMLErrorFile3 (  )  [protected]

Writes a parameter file with a negative SelfThinRadius parameter.

char* clTestDensitySelfThinning::WriteXMLErrorFile4 (  )  [protected]

Writes a parameter file with a negative MinDensityForMort parameter.

char* clTestDensitySelfThinning::WriteXMLErrorFile5 (  )  [protected]

Writes a parameter file with a negative SelfThinAsymptote parameter.

char* clTestDensitySelfThinning::WriteXMLErrorFile6 (  )  [protected]

Writes a parameter file with a negative SelfThinDensityEffect parameter.


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