Tests grids.
More...
#include <TestGrids.h>
|
void | TestGetAverage (clGrid *p_oGrid) |
| Tests the GetAverage methods.
|
|
void | TestGetCoordinates (clGrid *p_oGrid) |
| Tests to make sure that the grid cell coordinate calculation methods work.
|
|
clGrid * | CreateGrid (clSimManager *p_oSimManager) |
| Creates a grid and initializes it with values.
|
|
const char * | WriteXMLFile1 () |
| Writes an XML file that will create the sim manager so we can create a grid through the proper channels.
|
|
clGrid* 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.
- Parameters
-
p_oSimManager | Sim manager. |
- Returns
- Created, initialized grid.
void clTestGrids::TestGetAverage |
( |
clGrid * |
p_oGrid | ) |
|
|
protected |
Tests the GetAverage methods.
- Parameters
-
void clTestGrids::TestGetCoordinates |
( |
clGrid * |
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.
void clTestGrids::TestGrids |
( |
| ) |
|
const 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.
- Returns
- Filename just written.
The documentation for this class was generated from the following file: