clTestIsotropicDisperse Class Reference

FOR SOME REASON, I CAN'T GET THESE FUNCTIONS TO RUN. More...

#include <TestIsotropicDisperse.h>

List of all members.

Public Member Functions

void TestIsotropicDispersal1 ()
 Tests isotropic dispersal when the timestep length is 1 year.
void TestIsotropicDispersal2 ()
 Tests isotropic dispersal when the timestep length is 3 years.

Private Member Functions

void VerifyXMLFile1 (clGridBase *p_oSeedGrid)
 Verifies the numbers of seeds during TestIsotropicDispersal1.
void VerifyXMLFile2 (clGridBase *p_oSeedGrid)
 Verifies the numbers of seeds during TestIsotropicDispersal2.
char * WriteXMLFile1 ()
 Writes a parameter file with isotropic disperse and a timestep length of 1 year.
char * WriteXMLFile2 ()
 Writes a parameter file with isotropic disperse and a timestep length of 3 years.


Detailed Description

FOR SOME REASON, I CAN'T GET THESE FUNCTIONS TO RUN.

I'VE ABANDONED THIS OBJECT.

This class tests the isotropic dispersal 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.

Two runs will be tested: one in which the timestep length is 1 year and one in which the timestep length is 3 years.


Member Function Documentation

void clTestIsotropicDisperse::TestIsotropicDispersal1 (  ) 

Tests isotropic dispersal when the timestep length is 1 year.

It will cause a parameter file to be written and then passed to a clSimManager object. This object will read it. The disperse behavior is run and the contents of the seed grid examined.

void clTestIsotropicDisperse::TestIsotropicDispersal2 (  ) 

Tests isotropic dispersal when the timestep length is 3 years.

It will cause a parameter file to be written and then passed to a clSimManager object. This object will read it. The disperse behavior is run and the contents of the seed grid examined.

char* clTestIsotropicDisperse::WriteXMLFile1 (  )  [private]

Writes a parameter file with isotropic disperse and a timestep length of 1 year.

This contains all tree information and disperse information. It also has a tree map so we'll be dealing with a known list of trees.

Returns:
Filename written.

char* clTestIsotropicDisperse::WriteXMLFile2 (  )  [private]

Writes a parameter file with isotropic disperse and a timestep length of 3 years.

This contains all tree information and disperse information. It also has a tree map so we'll be dealing with a known list of trees.

Returns:
Filename written.


The documentation for this class was generated from the following file:
Generated on Thu May 24 09:35:10 2007 for SORTIE C++ Test Documentation by  doxygen 1.5.2