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

Tests DensitySelfThinning. More...

#include <TestDensitySelfThinningGompertz.h>

Inheritance diagram for clTestDensitySelfThinningGompertz:

Public Member Functions

void TestDensitySelfThinningGompertz ()
 Tests the Density Self Thinning behavior.
 

Protected Member Functions

void TestNormalProcessingRun1 (clSimManager *p_oSimManager)
 Tests normal processing using WriteXMLFile1()
 
void TestNormalProcessingRun2 (clSimManager *p_oSimManager)
 Tests normal processing using WriteXMLFile2()
 
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 for normal processing run 1.
 
const char * WriteXMLFile2 ()
 Writes a parameter file for normal processing run 2.
 
const char * WriteXMLErrorFile1 ()
 Writes a parameter file with a negative radius parameter.
 
const char * WriteXMLErrorFile2 ()
 Writes a parameter file with a negative minimum height parameter.
 
void WriteCommonStuff (std::fstream &oOut)
 Writes allometry parameters common to all parameter files.
 

Detailed Description

Tests DensitySelfThinning.

Member Function Documentation

void clTestDensitySelfThinningGompertz::TestDensitySelfThinningGompertz ( )

Tests the Density Self Thinning behavior.

Tests both normal and error processing.

void clTestDensitySelfThinningGompertz::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 clTestDensitySelfThinningGompertz::TestNormalProcessingRun1 ( clSimManager *  p_oSimManager)
protected

Tests normal processing using WriteXMLFile1()

void clTestDensitySelfThinningGompertz::TestNormalProcessingRun2 ( clSimManager *  p_oSimManager)
protected

Tests normal processing using WriteXMLFile2()

void clTestDensitySelfThinningGompertz::WriteCommonStuff ( std::fstream &  oOut)
protected

Writes allometry parameters common to all parameter files.

Parameters
oOut
const char* clTestDensitySelfThinningGompertz::WriteXMLErrorFile1 ( )
protected

Writes a parameter file with a negative radius parameter.

const char* clTestDensitySelfThinningGompertz::WriteXMLErrorFile2 ( )
protected

Writes a parameter file with a negative minimum height parameter.

const char* clTestDensitySelfThinningGompertz::WriteXMLFile1 ( )
protected

Writes a parameter file for normal processing run 1.

const char* clTestDensitySelfThinningGompertz::WriteXMLFile2 ( )
protected

Writes a parameter file for normal processing run 2.


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