clTestModelMath Class Reference

Tests the clModelMath class. More...

#include <TestModelMath.h>

List of all members.

Public Member Functions

void TestMath ()
 Tests the various math functions.

Protected Member Functions

void TestFunctions ()
 Tests the functions.
void TestRandom ()
 Tests the random number generator.
void TestAddBarkToDBH ()
 Tests the function AddBarkToDBH().


Detailed Description

Tests the clModelMath class.

Member Function Documentation

void clTestModelMath::TestMath (  ) 

Tests the various math functions.

void clTestModelMath::TestFunctions (  )  [protected]

Tests the functions.

This is all rolled together because I copied over legacy testing code. As I add new functions I will not include them here.

void clTestModelMath::TestRandom (  )  [protected]

Tests the random number generator.

void clTestModelMath::TestAddBarkToDBH (  )  [protected]

Tests the function AddBarkToDBH().

Test conditions:

  • DIB is less than 0.
  • DIB equals 0.
  • DIB is a very small value.
  • DIB is a normal value (between 0 and 100).
  • DIB is a very large value.
  • DIB is a value large enough to cause float overflow (threshold 1E18).


The documentation for this class was generated from the following file:

Generated on Tue Apr 19 14:06:01 2011 for SORTIE C++ Test Documentation by  doxygen 1.5.6