#include <TestGrids.h>
Public Member Functions | |
void | TestGrids () |
Comprehensive tester. | |
Protected Member Functions | |
void | TestGetAverage (clGridBase *p_oGrid) |
Tests the GetAverage methods. | |
void | TestGetCoordinates (clGridBase *p_oGrid) |
Tests to make sure that the grid cell coordinate calculation methods work. | |
clGridBase * | CreateGrid (clSimManager *p_oSimManager) |
Creates a grid and initializes it with values. | |
char * | WriteXMLFile1 () |
Writes an XML file that will create the sim manager so we can create a grid through the proper channels. |
void clTestGrids::TestGetAverage | ( | clGridBase * | p_oGrid | ) | [protected] |
Tests the GetAverage methods.
p_oGrid | Grid to test. |
void clTestGrids::TestGetCoordinates | ( | clGridBase * | p_oGrid | ) | [protected] |
Tests to make sure that the grid cell coordinate calculation methods work.
This feeds in one number, 13, to both start and end for X and Y.
clGridBase* clTestGrids::CreateGrid | ( | clSimManager * | p_oSimManager | ) | [protected] |
Creates a grid and initializes it with values.
The two data members are called "int" and "float". The grid cell size is 4X6.
p_oSimManager | Sim manager. |
char* clTestGrids::WriteXMLFile1 | ( | ) | [protected] |
Writes an XML file that will create the sim manager so we can create a grid through the proper channels.
The plot size is 200X200 m.