clTestSuppressionDurationMort Class Reference

Tests the clSuppressionDurationMort class. More...

#include <TestSuppressionDurationMort.h>

List of all members.

Public Member Functions

void TestSuppressionDurationMort ()
 This puts all mortality tests into a single function.

Protected Member Functions

void NormalProcessingRun1 (clSimManager *p_oSimManager)
 Tests normal processing run 1.
void ErrorProcessing (clSimManager *p_oSimManager)
 Tests error processing.
char * WriteXMLFile1 ()
 Writes a parameter file for normal processing run 1.
char * WriteXMLErrorFile1 ()
 Writes a parameter file where a value for max mortality probability is not between 0 and 1.
char * WriteXMLErrorFile2 ()
 Writes a parameter file where there is no tree age behavior.
char * WriteXMLErrorFile3 ()
 Writes a parameter file where a value for X0 is 0.
void WriteErrorCommonStuff (std::fstream &oOut)
 Writes common portions of the test parameter files.


Detailed Description

Tests the clSuppressionDurationMort class.

Member Function Documentation

void clTestSuppressionDurationMort::TestSuppressionDurationMort (  ) 

This puts all mortality tests into a single function.

void clTestSuppressionDurationMort::NormalProcessingRun1 ( clSimManager *  p_oSimManager  )  [protected]

Tests normal processing run 1.

WriteXMLFile1() does setup.

Parameters:
p_oSimManager Sim manager object for doing the run.

void clTestSuppressionDurationMort::ErrorProcessing ( clSimManager *  p_oSimManager  )  [protected]

Tests error processing.

Inputs error files to make sure the errors are caught.

char* clTestSuppressionDurationMort::WriteXMLFile1 (  )  [protected]

Writes a parameter file for normal processing run 1.

Returns:
Filename written.

char* clTestSuppressionDurationMort::WriteXMLErrorFile1 (  )  [protected]

Writes a parameter file where a value for max mortality probability is not between 0 and 1.

Returns:
Filename written.

char* clTestSuppressionDurationMort::WriteXMLErrorFile2 (  )  [protected]

Writes a parameter file where there is no tree age behavior.

Returns:
Filename written.

char* clTestSuppressionDurationMort::WriteXMLErrorFile3 (  )  [protected]

Writes a parameter file where a value for X0 is 0.

Returns:
Filename written.

void clTestSuppressionDurationMort::WriteErrorCommonStuff ( std::fstream &  oOut  )  [protected]

Writes common portions of the test parameter files.

This starts with <randomSeed> and ends with </allometry>.

Parameters:
oOut File stream to write to.


The documentation for this class was generated from the following file:

Generated on Tue Apr 19 14:06:03 2011 for SORTIE C++ Test Documentation by  doxygen 1.5.6