#include <TestAllometry.h>
Public Member Functions | |
void | TestAllometry () |
Groups together all the testing functions. | |
Protected Member Functions | |
void | TestNormalProcessing (clSimManager *p_oSimManager) |
Verifies that allometry functions calculate correctly. | |
void | TestErrorProcessing (clSimManager *p_oSimManager) |
Tests error processing. | |
char * | WriteXMLFile1 () |
Writes a parameter file to test allometry. | |
char * | WriteXMLFile2 () |
This writes a file with only standard functions and parameters, to make sure that the others aren't required if not needed. | |
char * | WriteXMLFile3 () |
This writes a file with only linear functions and parameters, to make sure that the others aren't required if not needed. | |
char * | WriteXMLFile4 () |
This writes a file with only reverse linear functions and parameters, to make sure that the others aren't required if not needed. | |
char * | WriteXMLFile5 () |
This writes a file with linear height-DBH and standard crown adult parameters, and standard height-DBH and Chapman-Richards sapling parameters, to make sure arrays are declared correctly. | |
char * | WriteXMLFile6 () |
This writes a file with linear height-DBH and Chapman-Richards crown adult parameters, and standard sapling parameters, to make sure arrays are declared correctly. | |
char * | WriteXMLErrorFile1 () |
This writes a file with an unrecognized function for adult allometry. | |
char * | WriteXMLErrorFile2 () |
This writes a file with an unrecognized function for sapling allometry. | |
char * | WriteXMLErrorFile3 () |
This writes a file with an unrecognized function for seedling allometry. | |
char * | WriteXMLErrorFile4 () |
This writes a file with a 0 value for adult linear slope. | |
char * | WriteXMLErrorFile5 () |
This writes a file with a 0 value for adult reverse linear slope. | |
char * | WriteXMLErrorFile6 () |
This writes a file with a 0 value for sapling linear slope. | |
char * | WriteXMLErrorFile7 () |
This writes a file with a 0 value for sapling reverse linear slope. | |
char * | WriteXMLErrorFile8 () |
This writes a file with a 0 value for seedling linear slope. | |
char * | WriteXMLErrorFile9 () |
This writes a file with a 0 value for seedling reverse linear slope. | |
char * | WriteXMLErrorFile10 () |
This writes a file with a 0 value for diam10 to dbh ratio. | |
char * | WriteXMLErrorFile11 () |
This writes a file with an unrecognized function for adult crown radius. | |
char * | WriteXMLErrorFile12 () |
This writes a file with an unrecognized function for adult crown height. | |
char * | WriteXMLErrorFile13 () |
This writes a file with an unrecognized function for sapling crown radius. | |
char * | WriteXMLErrorFile14 () |
This writes a file with an unrecognized function for sapling crown height. |
|
Tests error processing. In the first part, invalid requests are made of the clAllometry functions. In the second part, parameter files with bad data are read in. |
|
Verifies that allometry functions calculate correctly. This run uses WriteXMLFile1 for setup. This file contains 6 species, with a mix of allometric functions throughout the life history stages. This tests each allometric function for each life history stage for each species. (No actual trees are used; we just call the functions directly.)
|
|
This writes a file with an unrecognized function for adult allometry.
|
|
This writes a file with a 0 value for diam10 to dbh ratio.
|
|
This writes a file with an unrecognized function for adult crown radius.
|
|
This writes a file with an unrecognized function for adult crown height.
|
|
This writes a file with an unrecognized function for sapling crown radius.
|
|
This writes a file with an unrecognized function for sapling crown height.
|
|
This writes a file with an unrecognized function for sapling allometry.
|
|
This writes a file with an unrecognized function for seedling allometry.
|
|
This writes a file with a 0 value for adult linear slope.
|
|
This writes a file with a 0 value for adult reverse linear slope.
|
|
This writes a file with a 0 value for sapling linear slope.
|
|
This writes a file with a 0 value for sapling reverse linear slope.
|
|
This writes a file with a 0 value for seedling linear slope.
|
|
This writes a file with a 0 value for seedling reverse linear slope.
|
|
Writes a parameter file to test allometry. This contains six species, with functions mixed up between them.
|
|
This writes a file with only standard functions and parameters, to make sure that the others aren't required if not needed.
|
|
This writes a file with only linear functions and parameters, to make sure that the others aren't required if not needed.
|
|
This writes a file with only reverse linear functions and parameters, to make sure that the others aren't required if not needed.
|
|
This writes a file with linear height-DBH and standard crown adult parameters, and standard height-DBH and Chapman-Richards sapling parameters, to make sure arrays are declared correctly.
|
|
This writes a file with linear height-DBH and Chapman-Richards crown adult parameters, and standard sapling parameters, to make sure arrays are declared correctly.
|