clTestPlanting Class Reference

Tests the clPlant class. More...

#include <TestPlanting.h>

List of all members.

Public Member Functions

void TestPlanting ()
 Groups together all the other plant testing functions into a comprehensive plant test.

Protected Member Functions

void DoPlantingRun1 (clSimManager *p_oSimManager)
 Do the first planting run.
void DoPlantingRun2 (clSimManager *p_oSimManager)
 Do the second planting run.
void DoPlantingRun3 (clSimManager *p_oSimManager)
 Do the third planting run.
void DoPlantingRun4 (clSimManager *p_oSimManager)
 Do the fourth planting run.
void DoPlantingRun5 (clSimManager *p_oSimManager)
 Do the fifth planting run.
void DoPlantingRun6 (clSimManager *p_oSimManager)
 Do the sixth planting run.
char * WriteXMLFile1 ()
 Writes a parameter file to test planting for run 1.
char * WriteXMLFile2 ()
 Writes a parameter file to test planting for run 2.
char * WriteXMLFile3 ()
 Writes a parameter file to test planting for run 3.
char * WriteXMLFile4 ()
 Writes a parameter file to test planting for run 4.
char * WriteXMLFile5 ()
 Writes a parameter file to test planting for run 5.
char * WriteXMLFile6 ()
 Writes a parameter file to test planting for run 6.


Detailed Description

Tests the clPlant class.


Member Function Documentation

void clTestPlanting::DoPlantingRun1 ( clSimManager *  p_oSimManager  )  [protected]

Do the first planting run.

WriteXMLFile1() is used to do the run. The characteristics of this run are:

Parameters:
p_oSimManager Sim manager object.

void clTestPlanting::DoPlantingRun2 ( clSimManager *  p_oSimManager  )  [protected]

Do the second planting run.

WriteXMLFile2() is used to do the run. The characteristics of this run are:

Parameters:
p_oSimManager Sim manager object.

void clTestPlanting::DoPlantingRun3 ( clSimManager *  p_oSimManager  )  [protected]

Do the third planting run.

WriteXMLFile3() is used to do the run. The characteristics of this run are: Planting event 1:

Planting event 2:
Parameters:
p_oSimManager Sim manager object.

void clTestPlanting::DoPlantingRun4 ( clSimManager *  p_oSimManager  )  [protected]

Do the fourth planting run.

WriteXMLFile4() is used to do the run. The characteristics of this run are: Planting event 1:

Planting event 2:
Parameters:
p_oSimManager Sim manager object.

void clTestPlanting::DoPlantingRun5 ( clSimManager *  p_oSimManager  )  [protected]

Do the fifth planting run.

This makes sure that random plantings happen correctly when grid cells do not divide evenly into the plot.

Parameters:
p_oSimManager Sim manager object.

void clTestPlanting::DoPlantingRun6 ( clSimManager *  p_oSimManager  )  [protected]

Do the sixth planting run.

This makes sure that gridded plantings happen correctly when grid cells do not divide evenly into the plot.

Parameters:
p_oSimManager Sim manager object.

char* clTestPlanting::WriteXMLFile1 (  )  [protected]

Writes a parameter file to test planting for run 1.

Returns:
Filename written.

char* clTestPlanting::WriteXMLFile2 (  )  [protected]

Writes a parameter file to test planting for run 2.

Returns:
Filename written.

char* clTestPlanting::WriteXMLFile3 (  )  [protected]

Writes a parameter file to test planting for run 3.

Returns:
Filename written.

char* clTestPlanting::WriteXMLFile4 (  )  [protected]

Writes a parameter file to test planting for run 4.

Returns:
Filename written.

char* clTestPlanting::WriteXMLFile5 (  )  [protected]

Writes a parameter file to test planting for run 5.

Returns:
Filename written.

char* clTestPlanting::WriteXMLFile6 (  )  [protected]

Writes a parameter file to test planting for run 6.

Returns:
Filename written.


The documentation for this class was generated from the following file:
Generated on Thu May 24 09:35:11 2007 for SORTIE C++ Test Documentation by  doxygen 1.5.2