#include <TestGLIPoints.h>
Public Member Functions | |
void | TestGLIPoints () |
Puts the tests together into one. | |
Private Member Functions | |
void | TestNormalProcessing (clSimManager *p_oSimManager) |
Tests normal processing calculations. | |
void | TestErrorProcessing (clSimManager *p_oSimManager) |
This tests error processing during setup. | |
char * | WriteXMLFile1 () |
Writes a parameter file to direct testing. | |
char * | WriteXMLErrorFile1 () |
Writes a parameter file with no points in the points list. | |
char * | WriteXMLErrorFile2 () |
Writes a parameter file where the number of azimuth angles is less than 0. | |
char * | WriteXMLErrorFile3 () |
Writes a parameter file where the number of altitude angles is less than 0. | |
char * | WriteXMLErrorFile4 () |
Writes a parameter file where a point's X or Y coordinate is outside the plot. | |
char * | WriteXMLErrorFile5 () |
Writes a parameter file where a point's height is negative. | |
Private Attributes | |
char * | m_sFileName |
The filename. |
void clTestGLIPoints::TestErrorProcessing | ( | clSimManager * | p_oSimManager | ) | [private] |
This tests error processing during setup.
This inputs bad files and makes sure that errors result.
p_oSimManager | Object to run a test with. |
void clTestGLIPoints::TestNormalProcessing | ( | clSimManager * | p_oSimManager | ) | [private] |
Tests normal processing calculations.
WriteXMLFile1() is used for setup. This only has one behavior, GLI points. It is run. Then this will read in the output file and test the values.
p_oSimManager | Object to run a test with. |
char* clTestGLIPoints::WriteXMLErrorFile1 | ( | ) | [private] |
Writes a parameter file with no points in the points list.
char* clTestGLIPoints::WriteXMLErrorFile2 | ( | ) | [private] |
Writes a parameter file where the number of azimuth angles is less than 0.
char* clTestGLIPoints::WriteXMLErrorFile3 | ( | ) | [private] |
Writes a parameter file where the number of altitude angles is less than 0.
char* clTestGLIPoints::WriteXMLErrorFile4 | ( | ) | [private] |
Writes a parameter file where a point's X or Y coordinate is outside the plot.
char* clTestGLIPoints::WriteXMLErrorFile5 | ( | ) | [private] |
Writes a parameter file where a point's height is negative.
char* clTestGLIPoints::WriteXMLFile1 | ( | ) | [private] |
Writes a parameter file to direct testing.
There is one species and one behavior: GLI points.