Tests the class clVolumeCalculator.
More...
#include <TestVolumeCalculator.h>
Tests the class clVolumeCalculator.
void clTestVolumeCalculator::NormalRun1 |
( |
clSimManager * |
p_oSimManager | ) |
|
|
protected |
Performs the first normal processing run.
WriteXMLFile1() does setup. Five trees are created of two species. Then the run is allowed to proceed and their volumes are checked.
- Parameters
-
p_oSimManager | Sim Manager object to call for runs. |
void clTestVolumeCalculator::NormalRun2 |
( |
clSimManager * |
p_oSimManager | ) |
|
|
protected |
Performs the second normal processing run.
WriteXMLFile2() does setup. Two trees are created of two species. Then the run is allowed to proceed and their volumes are checked.
- Parameters
-
p_oSimManager | Sim Manager object to call for runs. |
void clTestVolumeCalculator::NormalRun3 |
( |
clSimManager * |
p_oSimManager | ) |
|
|
protected |
Performs the third normal processing run.
WriteXMLFile3() does setup. One tree is created. Then the run is allowed to proceed and its volume is checked.
- Parameters
-
p_oSimManager | Sim Manager object to call for runs. |
void clTestVolumeCalculator::NormalRun4 |
( |
clSimManager * |
p_oSimManager | ) |
|
|
protected |
Performs the fourth normal processing run.
WriteXMLFile4() does setup. Four trees are created of two species. Then the run is allowed to proceed and their volumes are checked.
- Parameters
-
p_oSimManager | Sim Manager object to call for runs. |
void clTestVolumeCalculator::NormalRun5 |
( |
clSimManager * |
p_oSimManager | ) |
|
|
protected |
Performs the fifth normal processing run.
WriteXMLFile5() does setup. Two trees are created of two species. Then the run is allowed to proceed and their volumes are checked.
- Parameters
-
p_oSimManager | Sim Manager object to call for runs. |
void clTestVolumeCalculator::TestErrorProcessing |
( |
clSimManager * |
p_oSimManager | ) |
|
|
protected |
void clTestVolumeCalculator::TestNormalProcessing |
( |
clSimManager * |
p_oSimManager | ) |
|
|
protected |
void clTestVolumeCalculator::TestVolumeCalculator |
( |
| ) |
|
Performs all the tests from one function.
void clTestVolumeCalculator::WriteCommonStuff |
( |
std::fstream & |
oOut | ) |
|
|
protected |
Writes common portions of the test parameter files (tree pop, plot, etc).
- Parameters
-
oOut | File stream to write to. |
const char* clTestVolumeCalculator::WriteXMLErrorFile1 |
( |
| ) |
|
|
protected |
Writes an error file where the stump height is less than 0.
const char* clTestVolumeCalculator::WriteXMLErrorFile2 |
( |
| ) |
|
|
protected |
Writes an error file where the minimum usable diameter is less than 0.
const char* clTestVolumeCalculator::WriteXMLErrorFile3 |
( |
| ) |
|
|
protected |
Writes an error file where the segment length is less than 0.
const char* clTestVolumeCalculator::WriteXMLErrorFile4 |
( |
| ) |
|
|
protected |
Writes an error file where the volume behavior is applied to seedlings.
const char* clTestVolumeCalculator::WriteXMLFile1 |
( |
| ) |
|
|
protected |
Writes the parameter file for NormalRun1().
- Returns
- Filename written.
const char* clTestVolumeCalculator::WriteXMLFile2 |
( |
| ) |
|
|
protected |
Writes the parameter file for NormalRun2().
- Returns
- Filename written.
const char* clTestVolumeCalculator::WriteXMLFile3 |
( |
| ) |
|
|
protected |
Writes the parameter file for NormalRun3().
- Returns
- Filename written.
const char* clTestVolumeCalculator::WriteXMLFile4 |
( |
| ) |
|
|
protected |
Writes the parameter file for NormalRun4().
- Returns
- Filename written.
const char* clTestVolumeCalculator::WriteXMLFile5 |
( |
| ) |
|
|
protected |
Writes the parameter file for NormalRun5().
- Returns
- Filename written.
The documentation for this class was generated from the following file: