Tests the clAggregatedMortality class.
More...
#include <TestAggregatedMortality.h>
Tests the clAggregatedMortality class.
void clTestAggregatedMortality::TestAggregatedMortality |
( |
| ) |
|
Assembles all other testing functions into one test.
void clTestAggregatedMortality::TestErrorProcessing |
( |
clSimManager * |
p_oSimManager | ) |
|
|
protected |
void clTestAggregatedMortality::TestNormalProcessingRun1 |
( |
clSimManager * |
p_oSimManager | ) |
|
|
protected |
Tests normal processing Run 1.
WriteXMLFile1() writes the parameter file. This run tests getting proportions right, and general aggregation.
- Parameters
-
p_oSimManager | Sim Manager object to run our test run. |
void clTestAggregatedMortality::TestNormalProcessingRun2 |
( |
clSimManager * |
p_oSimManager | ) |
|
|
protected |
Tests normal processing Run 2.
WriteXMLFile2() writes the parameter file. Tests aggregation across multiple grid cells.
- Parameters
-
p_oSimManager | Sim Manager object to run our test run. |
void clTestAggregatedMortality::TestNormalProcessingRun3 |
( |
clSimManager * |
p_oSimManager | ) |
|
|
protected |
Tests normal processing Run 3.
WriteXMLFile3() writes the parameter file. Tests that only trees to which the behavior applies are cut.
- Parameters
-
p_oSimManager | Sim Manager object to run our test run. |
void clTestAggregatedMortality::TestNormalProcessingRun4 |
( |
clSimManager * |
p_oSimManager | ) |
|
|
protected |
Tests normal processing Run 4.
WriteXMLFile4() writes the parameter file. Tests correct aggregation across longer distances.
- Parameters
-
p_oSimManager | Sim Manager object to run our test run. |
void clTestAggregatedMortality::TestNormalProcessingRun5 |
( |
clSimManager * |
p_oSimManager | ) |
|
|
protected |
Tests normal processing Run 5.
WriteXMLFile5() writes the parameter file. Tests that behavior acts correctly when the clumping number is 1.
- Parameters
-
p_oSimManager | Sim Manager object to run our test run. |
void clTestAggregatedMortality::TestNormalProcessingRun6 |
( |
clSimManager * |
p_oSimManager | ) |
|
|
protected |
Tests normal processing Run 6.
WriteXMLFile6() writes the parameter file. Tests that return intervals are correctly calculated.
- Parameters
-
p_oSimManager | Sim Manager object to run our test run. |
void clTestAggregatedMortality::WriteCommonStuff |
( |
std::fstream & |
oOut | ) |
|
|
protected |
Writes common portions of the test parameter files.
Starts with <randomSeed> and ends with </allometry>.
- Parameters
-
oOut | File stream to write to. |
const char* clTestAggregatedMortality::WriteXMLErrorFile1 |
( |
| ) |
|
|
protected |
Writes an error file where the value for amount to cut is not between 0 and 1.
- Returns
- File name of the freshly written parameter file.
const char* clTestAggregatedMortality::WriteXMLErrorFile2 |
( |
| ) |
|
|
protected |
Writes an error file where the return interval is less than 0.
- Returns
- File name of the freshly written parameter file.
const char* clTestAggregatedMortality::WriteXMLFile1 |
( |
| ) |
|
|
protected |
Writes the parameter file for TestNormalProcessing1().
- Returns
- File name of the freshly written parameter file.
const char* clTestAggregatedMortality::WriteXMLFile2 |
( |
| ) |
|
|
protected |
Writes the parameter file for TestNormalProcessing2().
- Returns
- File name of the freshly written parameter file.
const char* clTestAggregatedMortality::WriteXMLFile3 |
( |
| ) |
|
|
protected |
Writes the parameter file for TestNormalProcessing3().
- Returns
- File name of the freshly written parameter file.
const char* clTestAggregatedMortality::WriteXMLFile4 |
( |
| ) |
|
|
protected |
Writes the parameter file for TestNormalProcessing4().
- Returns
- File name of the freshly written parameter file.
const char* clTestAggregatedMortality::WriteXMLFile5 |
( |
| ) |
|
|
protected |
Writes the parameter file for TestNormalProcessing5().
- Returns
- File name of the freshly written parameter file.
const char* clTestAggregatedMortality::WriteXMLFile6 |
( |
| ) |
|
|
protected |
Writes the parameter file for TestNormalProcessing6().
- Returns
- File name of the freshly written parameter file.
The documentation for this class was generated from the following file: