clTestBrowsedRelativeGrowth Class Reference

Tests the clBrowsedRelativeGrowth class. More...

#include <TestBrowsedRelativeGrowth.h>

List of all members.

Public Member Functions

void TestBrowsedRelativeGrowth ()
 Combines the testing into one function.

Protected Member Functions

void TestNormalRun1 (clSimManager *p_oSimManager)
 Tests the growth when the timestep length is one year.
void TestNormalRun2 (clSimManager *p_oSimManager)
 Tests the growth when the timestep length is three years.
void TestNormalRun3 (clSimManager *p_oSimManager)
 Tests when growth is diam only.
void TestErrorProcessing (clSimManager *p_oSimManager)
 Tests error processing.
char * WriteXMLFile1 ()
 Writes a parameter file for normal run 1.
char * WriteXMLFile2 ()
 Writes a parameter file for normal run 2.
char * WriteXMLFile3 ()
 Writes a parameter file for normal run 3.
char * WriteXMLErrorFile1 ()
 Writes a parameter file where not all trees also have light.
char * WriteXMLErrorFile2 ()
 Writes a parameter file where not all trees also have browsing.
void WritePlotAndTrees (std::fstream &oOut)
 Writes common portions of the test parameter files (tree pop, plot, etc).
void WriteCommonParameters (std::fstream &oOut)
 Writes common parameters of the test parameter file.


Detailed Description

Tests the clBrowsedRelativeGrowth class.

Member Function Documentation

void clTestBrowsedRelativeGrowth::TestBrowsedRelativeGrowth (  ) 

Combines the testing into one function.

void clTestBrowsedRelativeGrowth::TestNormalRun1 ( clSimManager *  p_oSimManager  )  [protected]

Tests the growth when the timestep length is one year.

WriteXMLFile1() is used to set up the run.

Parameters:
p_oSimManager Sim manager object for doing the run.

void clTestBrowsedRelativeGrowth::TestNormalRun2 ( clSimManager *  p_oSimManager  )  [protected]

Tests the growth when the timestep length is three years.

WriteXMLFile2() is used to set up the run.

Parameters:
p_oSimManager Sim manager object for doing the run.

void clTestBrowsedRelativeGrowth::TestNormalRun3 ( clSimManager *  p_oSimManager  )  [protected]

Tests when growth is diam only.

Parameters:
p_oSimManager Sim manager object for doing the run.

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

Tests error processing.

Parameters:
p_oSimManager Sim manager object for doing the run.

char* clTestBrowsedRelativeGrowth::WriteXMLFile1 (  )  [protected]

Writes a parameter file for normal run 1.

Returns:
Filename written.

char* clTestBrowsedRelativeGrowth::WriteXMLFile2 (  )  [protected]

Writes a parameter file for normal run 2.

Returns:
Filename written.

char* clTestBrowsedRelativeGrowth::WriteXMLFile3 (  )  [protected]

Writes a parameter file for normal run 3.

Returns:
Filename written.

char* clTestBrowsedRelativeGrowth::WriteXMLErrorFile1 (  )  [protected]

Writes a parameter file where not all trees also have light.

Returns:
Filename written.

char* clTestBrowsedRelativeGrowth::WriteXMLErrorFile2 (  )  [protected]

Writes a parameter file where not all trees also have browsing.

Returns:
Filename written.

void clTestBrowsedRelativeGrowth::WritePlotAndTrees ( std::fstream &  oOut  )  [protected]

Writes common portions of the test parameter files (tree pop, plot, etc).

Parameters:
oOut File stream to write to.

void clTestBrowsedRelativeGrowth::WriteCommonParameters ( std::fstream &  oOut  )  [protected]

Writes common parameters of the test parameter file.

Parameters:
oOut File stream to write to.


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