clTestConstantGLI Class Reference

Tests the clConstantGLI class. More...

#include <TestConstantGLI.h>

List of all members.

Public Member Functions

void TestConstantGLI ()
 Rolls together all the tests into one function.

Private Member Functions

void TestNormalProcessing (clSimManager *p_oSimManager)
 Tests normal processing.
void TestErrorProcessing (clSimManager *p_oSimManager)
 Tests error processing.
char * WriteXMLFile1 ()
 Writes a parameter file for normal proceessing.
char * WriteXMLErrorFile1 ()
 Writes an error file where the constant GLI is less than 0.
char * WriteXMLErrorFile2 ()
 Writes an error file where the constant GLI is greater than 100.
void WriteCommonStuff (std::fstream &oOut)
 Writes common portions of the test parameter files (allometry and tree pop).


Detailed Description

Tests the clConstantGLI class.


Member Function Documentation

void clTestConstantGLI::TestErrorProcessing ( clSimManager *  p_oSimManager  )  [private]

Tests error processing.

Parameters:
p_oSimManager Sim Manager to do runs.

void clTestConstantGLI::TestNormalProcessing ( clSimManager *  p_oSimManager  )  [private]

Tests normal processing.

This checks that GLI is correctly assigned to the trees to which the behavior applies. WriteXMLFile1() does setup.

Parameters:
p_oSimManager Sim Manager to do runs.

void clTestConstantGLI::WriteCommonStuff ( std::fstream &  oOut  )  [private]

Writes common portions of the test parameter files (allometry and tree pop).

Parameters:
oOut File stream to write to.

char* clTestConstantGLI::WriteXMLErrorFile1 (  )  [private]

Writes an error file where the constant GLI is less than 0.

Returns:
File name of the freshly written parameter file.

char* clTestConstantGLI::WriteXMLErrorFile2 (  )  [private]

Writes an error file where the constant GLI is greater than 100.

Returns:
File name of the freshly written parameter file.

char* clTestConstantGLI::WriteXMLFile1 (  )  [private]

Writes a parameter file for normal proceessing.

There are three species, and the constant GLI behavior is applied to species 2 and 3.

Returns:
Filename written.


The documentation for this class was generated from the following file:
Generated on Wed Nov 15 11:27:25 2006 for SORTIE C++ Test Documentation by  doxygen 1.4.7