#include <TestTreeRemover.h>
Public Member Functions | |
void | TestTreeRemover () |
Tests TreeRemover. | |
Protected Member Functions | |
char * | WriteXMLFile1 () |
Writes a parameter file with the specifications given for TestTreeRemover(). | |
char * | WriteXMLFile2 () |
Writes a parameter file with an error - the TreeRemover behavior is assigned to a tree species/type combo that is not also assigned to a mortality behavior. |
void clTestTreeRemover::TestTreeRemover | ( | ) |
Tests TreeRemover.
Reads in the file created by WriteXMLFile1(). The file has the following characteristics:
Once that's finished, error processing occurs with WriteXMLFile2(), which has TreeRemover assigned to a tree species/type combo without mortality.
char* clTestTreeRemover::WriteXMLFile1 | ( | ) | [protected] |
Writes a parameter file with the specifications given for TestTreeRemover().
char* clTestTreeRemover::WriteXMLFile2 | ( | ) | [protected] |
Writes a parameter file with an error - the TreeRemover behavior is assigned to a tree species/type combo that is not also assigned to a mortality behavior.