clTestGrids Class Reference

Tests grids. More...

#include <TestGrids.h>

List of all members.

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.


Detailed Description

Tests grids.


Member Function Documentation

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.

Parameters:
p_oSimManager Sim manager.
Returns:
Created, initialized grid.

void clTestGrids::TestGetAverage ( clGridBase *  p_oGrid  )  [protected]

Tests the GetAverage methods.

Parameters:
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.

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:
Generated on Wed Nov 15 11:27:25 2006 for SORTIE C++ Test Documentation by  doxygen 1.4.7