This class tests the clEstablishment behavior.
More...
#include <TestEstablishment.h>
This class tests the clEstablishment behavior.
void clTestEstablishment::TestErrorProcessing |
( |
clSimManager * |
p_oSimManager | ) |
|
|
private |
Runs through the error files to make sure that errors are caught correctly.
- Parameters
-
p_oSimManager | Sim Manager object to run testing. |
void clTestEstablishment::TestEstablishment |
( |
| ) |
|
Groups all establishment tests into one function.
void clTestEstablishment::TestNormalProcessingRun1 |
( |
clSimManager * |
p_oSimManager | ) |
|
|
private |
Tests establishment.
WriteXMLFile1() does setup. Non-spatial dispserse is included with parameters such that it creates no seeds. The "Dispersed
Seeds" grid cells do not divide evenly into the plot lengths. The grid is populated with some initial values. Then one timestep of a simulation is run and this verifies that the number of seedlings is right, and the number of seeds is 0.
- Parameters
-
p_oSimManager | Sim Manager object to run testing. |
void clTestEstablishment::TestNormalProcessingRun2 |
( |
clSimManager * |
p_oSimManager | ) |
|
|
private |
Tests establishment.
WriteXMLFile2() does setup. Non-spatial dispserse is included with parameters such that it creates no seeds. The "Dispersed
Seeds" grid cells divide evenly into the plot lengths. The grid is populated with some initial values. Then one timestep of a simulation is run and this verifies that the number of seedlings is right, and the number of seeds is 0.
- Parameters
-
p_oSimManager | Sim Manager object to run testing. |
const char* clTestEstablishment::WriteXMLErrorFile1 |
( |
| ) |
|
|
private |
Writes a parameter file with no disperse behaviors whatsoever.
- Returns
- Filename written.
const char* clTestEstablishment::WriteXMLFile1 |
( |
| ) |
|
|
private |
Writes a parameter file to direct testing.
- Returns
- Filename written.
const char* clTestEstablishment::WriteXMLFile2 |
( |
| ) |
|
|
private |
Writes a parameter file to direct testing.
- Returns
- Filename written.
The documentation for this class was generated from the following file: