clTestMortalityOrg Class Reference

Tests the clMortalityOrg class. More...

#include <TestMortalityOrg.h>

List of all members.

Public Member Functions

void TestMortalityOrg ()
 Tests the clMortalityOrg class.

Protected Member Functions

char * WriteXMLFile1 ()
 Writes a parameter file with the specifications given for TestMortalityOrg().


Detailed Description

Tests the clMortalityOrg class.


Member Function Documentation

void clTestMortalityOrg::TestMortalityOrg (  ) 

Tests the clMortalityOrg class.

WriteXMLFile1() will create the parameter file for this run. In the file:

This function will:
  1. Make sure that saplings and adults of species 2 each have one bool data member. It does this by making sure that "dead" has been registered for both. It will then attempt to register a bool data member on all types, all species, and will throw an error if it is successful (which means that the wrong bool data member count was passed to the tree population).
  2. Make sure that the behaviors are applied correctly. 10 trees of each of Species 1 saplings and adults and Species 2 saplings and adults are created. Then the model is run one timestep. All Species 2 adults should be gone and everything else should be left. (My concern is mainly to make sure that the hooked behavior works right.)

char* clTestMortalityOrg::WriteXMLFile1 (  )  [protected]

Writes a parameter file with the specifications given for TestMortalityOrg().

Returns:
Filename written.


The documentation for this class was generated from the following file:
Generated on Wed Nov 15 11:27:26 2006 for SORTIE C++ Test Documentation by  doxygen 1.4.7