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

Tests the GapLight class. More...

#include <TestGapLight.h>

Public Member Functions

void TestGapLight ()
 Performs testing.
 

Protected Member Functions

const char * WriteXMLFile1 ()
 Writes a parameter file.
 
const char * WriteXMLFile2 ()
 Writes a parameter file.
 

Detailed Description

Tests the GapLight class.

Member Function Documentation

void clTestGapLight::TestGapLight ( )

Performs testing.

Two runs are performed, identical but for the dimensions of the grid cells. For each, it starts with a known list of seedlings and saplings for which light is to be tested.

In each run, in the first timestep, there are no adult trees. In the timestep, there is a small list of adult trees. In the last timestep, there are adults in every cell.

const char* clTestGapLight::WriteXMLFile1 ( )
protected

Writes a parameter file.

This contains no grid information so that the grid will default to 8 X 8 cells.

Returns
Filename written.
const char* clTestGapLight::WriteXMLFile2 ( )
protected

Writes a parameter file.

This contains grid information so that the grid will have 2 X 4 cells.

Returns
Filename written.

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