#include <TestIsotropicDisperse.h>
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. |
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.
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.
void clTestIsotropicDisperse::VerifyXMLFile1 | ( | clGridBase * | p_oSeedGrid | ) | [private] |
Verifies the numbers of seeds during TestIsotropicDispersal1.
void clTestIsotropicDisperse::VerifyXMLFile2 | ( | clGridBase * | p_oSeedGrid | ) | [private] |
Verifies the numbers of seeds during TestIsotropicDispersal2.
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.
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.