SORTIE C++ Test Documentation
|
#include <fstream>
Functions | |
void | TestStormDamageApplierRun1Timestep1 (clTreePopulation *p_oPop) |
Tests the clStormDamageApplier class. More... | |
void | TestStormDamageApplierRun1Timestep2 (clTreePopulation *p_oPop) |
Checks the expected results for timestep 2 of TestNormalProcessingRun1(). More... | |
void | TestStormDamageApplierRun1Timestep3 (clTreePopulation *p_oPop) |
Checks the expected results for timestep 3 of TestNormalProcessingRun1(). More... | |
void | TestStormDamageApplierRun1Timestep4 (clTreePopulation *p_oPop) |
Checks the expected results for timestep 4 of TestNormalProcessingRun1(). More... | |
void | TestStormDamageApplierRun1Timestep5 (clTreePopulation *p_oPop) |
Checks the expected results for timestep 5 of TestNormalProcessingRun1(). More... | |
const char * | WriteStormDamageApplierXMLFile1 () |
Writes the parameter file for TestNormalProcessing1(). More... | |
const char * | WriteStormDamageApplierXMLFile2 () |
Writes the parameter file for TestNormalProcessing2(). More... | |
const char * | WriteStormDamageApplierXMLFile3 () |
Writes the parameter file for MakeGraphs(). More... | |
const char * | WriteStormDamageApplierXMLErrorFile1 () |
Writes an error file where the storm behavior is not also enabled. More... | |
const char * | WriteStormDamageApplierXMLErrorFile2 () |
Writes an error file where the storm damage applier behavior is applied to seedlings. More... | |
const char * | WriteStormDamageApplierXMLErrorFile3 () |
Writes an error file where the value for number of years to heal is not positive. More... | |
void | WriteStormDamageApplierCommonStuff (std::fstream &oOut) |
Writes common portions of the test parameter files. More... | |
void | WriteStormDamageApplierBehaviorList (std::fstream &oOut) |
Writes the behavior list for the test parameter files. More... | |
void TestStormDamageApplierRun1Timestep1 | ( | clTreePopulation * | p_oPop | ) |
Tests the clStormDamageApplier class.
Checks the expected results for timestep 1 of TestNormalProcessingRun1().
p_oPop | Tree population object. |
void TestStormDamageApplierRun1Timestep2 | ( | clTreePopulation * | p_oPop | ) |
Checks the expected results for timestep 2 of TestNormalProcessingRun1().
p_oPop | Tree population object. |
void TestStormDamageApplierRun1Timestep3 | ( | clTreePopulation * | p_oPop | ) |
Checks the expected results for timestep 3 of TestNormalProcessingRun1().
p_oPop | Tree population object. |
void TestStormDamageApplierRun1Timestep4 | ( | clTreePopulation * | p_oPop | ) |
Checks the expected results for timestep 4 of TestNormalProcessingRun1().
p_oPop | Tree population object. |
void TestStormDamageApplierRun1Timestep5 | ( | clTreePopulation * | p_oPop | ) |
Checks the expected results for timestep 5 of TestNormalProcessingRun1().
p_oPop | Tree population object. |
void WriteStormDamageApplierBehaviorList | ( | std::fstream & | oOut | ) |
Writes the behavior list for the test parameter files.
oOut | File stream to write to. |
void WriteStormDamageApplierCommonStuff | ( | std::fstream & | oOut | ) |
Writes common portions of the test parameter files.
Starts with <randomSeed> and ends with </allometry>.
oOut | File stream to write to. |
const char* WriteStormDamageApplierXMLErrorFile1 | ( | ) |
Writes an error file where the storm behavior is not also enabled.
const char* WriteStormDamageApplierXMLErrorFile2 | ( | ) |
Writes an error file where the storm damage applier behavior is applied to seedlings.
const char* WriteStormDamageApplierXMLErrorFile3 | ( | ) |
Writes an error file where the value for number of years to heal is not positive.
const char* WriteStormDamageApplierXMLFile1 | ( | ) |
Writes the parameter file for TestNormalProcessing1().
const char* WriteStormDamageApplierXMLFile2 | ( | ) |
Writes the parameter file for TestNormalProcessing2().
const char* WriteStormDamageApplierXMLFile3 | ( | ) |
Writes the parameter file for MakeGraphs().