SORTIE C++ Test Documentation
Public Member Functions | Private Member Functions | List of all members
clTestDensitySeedSurvival Class Reference

This class tests the density-dependent seed survival behavior. More...

#include <TestDensitySeedSurvival.h>

Inheritance diagram for clTestDensitySeedSurvival:

Public Member Functions

void TestDensitySeedSurvival ()
 Compiles all tests into one function.
 

Private Member Functions

void TestDensityRun1 (clSimManager *p_oSimManager)
 Tests normal processing of density-dependent seed survival.
 
void TestDensityRun2 (clSimManager *p_oSimManager)
 Tests normal processing of density-dependent seed survival with different grid cell sizes.
 
void TestDensityRun3 (clSimManager *p_oSimManager)
 Tests normal processing of density-dependent seed survival with different grid cell sizes.
 
void TestDensityRun4 (clSimManager *p_oSimManager)
 Tests normal processing of seed survival dependent on density of conspecific neighbor trees.
 
const char * WriteXMLFile1 ()
 Writes a parameter file to direct testing.
 
const char * WriteXMLFile2 ()
 Writes a parameter file to direct testing.
 
const char * WriteXMLFile3 ()
 Writes a parameter file to direct testing.
 
const char * WriteXMLFile4 ()
 Writes a parameter file to direct testing for normal processing Run 4.
 
void WriteCommonStuff (std::fstream &oOut)
 Writes allometry parameters common to all parameter files.
 

Detailed Description

This class tests the density-dependent seed survival behavior.

It writes out parameter files and uses them as input to perform setup; it then sets up the desired initial conditions, causes the behavior to run, then tests its output. There is one normal processing run.

Member Function Documentation

void clTestDensitySeedSurvival::TestDensityRun1 ( clSimManager *  p_oSimManager)
private

Tests normal processing of density-dependent seed survival.

WriteXMLFile1() does setup. After a run occurs, the number of seeds in the seed grid is verified.

void clTestDensitySeedSurvival::TestDensityRun2 ( clSimManager *  p_oSimManager)
private

Tests normal processing of density-dependent seed survival with different grid cell sizes.

WriteXMLFile2() does setup. After a run occurs, the number of seeds in the seed grid is verified.

void clTestDensitySeedSurvival::TestDensityRun3 ( clSimManager *  p_oSimManager)
private

Tests normal processing of density-dependent seed survival with different grid cell sizes.

WriteXMLFile3() does setup. After a run occurs, the number of seeds in the seed grid is verified.

void clTestDensitySeedSurvival::TestDensityRun4 ( clSimManager *  p_oSimManager)
private

Tests normal processing of seed survival dependent on density of conspecific neighbor trees.

WriteXMLFile4() does setup. After a run occurs, the number of seeds in the seed grid is verified.

void clTestDensitySeedSurvival::TestDensitySeedSurvival ( )

Compiles all tests into one function.

void clTestDensitySeedSurvival::WriteCommonStuff ( std::fstream &  oOut)
private

Writes allometry parameters common to all parameter files.

Parameters
oOut
const char* clTestDensitySeedSurvival::WriteXMLFile1 ( )
private

Writes a parameter file to direct testing.

The behaviors are non-spatial disperse (designed to add no seeds) and density-dependent seed survival. There are 4 species but only the last three are used.

Returns
Filename written.
const char* clTestDensitySeedSurvival::WriteXMLFile2 ( )
private

Writes a parameter file to direct testing.

The behaviors are non-spatial disperse (designed to add no seeds) and density-dependent seed survival. There are 4 species but only the last three are used.

Returns
Filename written.
const char* clTestDensitySeedSurvival::WriteXMLFile3 ( )
private

Writes a parameter file to direct testing.

The behaviors are non-spatial disperse (designed to add no seeds) and density-dependent seed survival. There are 4 species but only the last three are used.

Returns
Filename written.
const char* clTestDensitySeedSurvival::WriteXMLFile4 ( )
private

Writes a parameter file to direct testing for normal processing Run 4.

Returns
Filename written.

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