SORTIE C++ Test Documentation
Public Member Functions | Protected Member Functions | List of all members
clTestModelMath Class Reference

Tests the clModelMath class. More...

#include <TestModelMath.h>

Inheritance diagram for clTestModelMath:

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::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).
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::TestMath ( )

Tests the various math functions.

void clTestModelMath::TestRandom ( )
protected

Tests the random number generator.


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