#include <TestRandomBrowse.h>
Public Member Functions | |
void | TestRandomBrowse () |
Consolidates the testing into a single function. | |
Protected Member Functions | |
void | TestNormalRun1 (clSimManager *p_oSimManager) |
Tests normal processing run 1. | |
void | TestNormalRun2 (clSimManager *p_oSimManager) |
Tests normal processing run 2. | |
void | TestNormalRun3 (clSimManager *p_oSimManager) |
Tests normal processing run 3. | |
void | TestErrorProcessing (clSimManager *p_oSimManager) |
Tests error processing. | |
char * | WriteXMLFile1 () |
Writes a parameter file with the specifications given for TestRandomBrowse(), run 1. | |
char * | WriteXMLFile2 () |
Writes a parameter file with the specifications given for TestRandomBrowse(), run 2. | |
char * | WriteXMLFile3 () |
Writes a parameter file with the specifications given for TestRandomBrowse(), run 3. | |
char * | WriteXMLErrorFile1 () |
Writes a parameter file where the browse probabilities are not all between 0 and 1. |
void clTestRandomBrowse::TestRandomBrowse | ( | ) |
Consolidates the testing into a single function.
void clTestRandomBrowse::TestNormalRun1 | ( | clSimManager * | p_oSimManager | ) | [protected] |
Tests normal processing run 1.
First run: WriteXMLFile1() creates the parameter file. The file has the following characteristics:
p_oSimManager | Sim manager. |
void clTestRandomBrowse::TestNormalRun2 | ( | clSimManager * | p_oSimManager | ) | [protected] |
Tests normal processing run 2.
WriteXMLFile2() creates the parameter file. The run is exactly the same as run 1except the timestep length is three years, so the browse probabilities are compounded appropriately.
p_oSimManager | Sim manager. |
void clTestRandomBrowse::TestNormalRun3 | ( | clSimManager * | p_oSimManager | ) | [protected] |
Tests normal processing run 3.
WriteXMLFile3() creates the parameter file. The probabilities are done on a normal random draw. This creates a large number of probabilities to test the draw.
p_oSimManager | Sim manager. |
void clTestRandomBrowse::TestErrorProcessing | ( | clSimManager * | p_oSimManager | ) | [protected] |
Tests error processing.
p_oSimManager | Sim manager. |
char* clTestRandomBrowse::WriteXMLFile1 | ( | ) | [protected] |
Writes a parameter file with the specifications given for TestRandomBrowse(), run 1.
char* clTestRandomBrowse::WriteXMLFile2 | ( | ) | [protected] |
Writes a parameter file with the specifications given for TestRandomBrowse(), run 2.
char* clTestRandomBrowse::WriteXMLFile3 | ( | ) | [protected] |
Writes a parameter file with the specifications given for TestRandomBrowse(), run 3.
char* clTestRandomBrowse::WriteXMLErrorFile1 | ( | ) | [protected] |
Writes a parameter file where the browse probabilities are not all between 0 and 1.