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

Tests DensitySelfThinning. More...

#include <TestDensitySelfThinning.h>

Inheritance diagram for clTestDensitySelfThinning:

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.
 
const char * WriteXMLFile1 ()
 Writes a parameter file with legal parameter values for the behavior.
 
const char * WriteXMLErrorFile1 ()
 Writes a parameter file with a timestep greater than 1.
 
const char * WriteXMLErrorFile2 ()
 Writes a parameter file that passes adults to the behavior.
 
const char * WriteXMLErrorFile3 ()
 Writes a parameter file with a negative SelfThinRadius parameter.
 
const char * WriteXMLErrorFile4 ()
 Writes a parameter file with a negative MinDensityForMort parameter.
 
const char * WriteXMLErrorFile5 ()
 Writes a parameter file with a negative SelfThinAsymptote parameter.
 
const 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::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.

void clTestDensitySelfThinning::TestNormalProcessing ( clSimManager *  p_oSimManager)
protected

Tests normal processing using WriteXMLFile1()

const char* clTestDensitySelfThinning::WriteXMLErrorFile1 ( )
protected

Writes a parameter file with a timestep greater than 1.

const char* clTestDensitySelfThinning::WriteXMLErrorFile2 ( )
protected

Writes a parameter file that passes adults to the behavior.

const char* clTestDensitySelfThinning::WriteXMLErrorFile3 ( )
protected

Writes a parameter file with a negative SelfThinRadius parameter.

const char* clTestDensitySelfThinning::WriteXMLErrorFile4 ( )
protected

Writes a parameter file with a negative MinDensityForMort parameter.

const char* clTestDensitySelfThinning::WriteXMLErrorFile5 ( )
protected

Writes a parameter file with a negative SelfThinAsymptote parameter.

const char* clTestDensitySelfThinning::WriteXMLErrorFile6 ( )
protected

Writes a parameter file with a negative SelfThinDensityEffect parameter.

const char* clTestDensitySelfThinning::WriteXMLFile1 ( )
protected

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


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