SORTIE C++ Test Documentation
Functions
TestAggregatedMortality.h File Reference
#include <fstream>

Functions

const char * WriteAggregatedMortalityXMLFile1 ()
 Tests the clAggregatedMortality class.
 
const char * WriteAggregatedMortalityXMLFile2 ()
 Writes the parameter file for TestNormalProcessing2().
 
const char * WriteAggregatedMortalityXMLFile3 ()
 Writes the parameter file for TestNormalProcessing3().
 
const char * WriteAggregatedMortalityXMLFile4 ()
 Writes the parameter file for TestNormalProcessing4().
 
const char * WriteAggregatedMortalityXMLFile5 ()
 Writes the parameter file for TestNormalProcessing5().
 
const char * WriteAggregatedMortalityXMLFile6 ()
 Writes the parameter file for TestNormalProcessing6().
 
const char * WriteAggregatedMortalityXMLErrorFile1 ()
 Writes an error file where the value for amount to cut is not between 0 and 1.
 
const char * WriteAggregatedMortalityXMLErrorFile2 ()
 Writes an error file where the return interval is less than 0.
 
void WriteAggregatedMortalityCommonStuff (std::fstream &oOut)
 Writes common portions of the test parameter files.
 

Function Documentation

void WriteAggregatedMortalityCommonStuff ( std::fstream &  oOut)

Writes common portions of the test parameter files.

Starts with <randomSeed> and ends with </allometry>.

Parameters
oOutFile stream to write to.
const char* WriteAggregatedMortalityXMLErrorFile1 ( )

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* WriteAggregatedMortalityXMLErrorFile2 ( )

Writes an error file where the return interval is less than 0.

Returns
File name of the freshly written parameter file.
const char* WriteAggregatedMortalityXMLFile1 ( )

Tests the clAggregatedMortality class.

Writes the parameter file for TestNormalProcessing1().

Returns
File name of the freshly written parameter file.
const char* WriteAggregatedMortalityXMLFile2 ( )

Writes the parameter file for TestNormalProcessing2().

Returns
File name of the freshly written parameter file.
const char* WriteAggregatedMortalityXMLFile3 ( )

Writes the parameter file for TestNormalProcessing3().

Returns
File name of the freshly written parameter file.
const char* WriteAggregatedMortalityXMLFile4 ( )

Writes the parameter file for TestNormalProcessing4().

Returns
File name of the freshly written parameter file.
const char* WriteAggregatedMortalityXMLFile5 ( )

Writes the parameter file for TestNormalProcessing5().

Returns
File name of the freshly written parameter file.
const char* WriteAggregatedMortalityXMLFile6 ( )

Writes the parameter file for TestNormalProcessing6().

Returns
File name of the freshly written parameter file.