TestCenter Reference
Math.py File Reference

Go to the source code of this file.

Namespaces

namespace  TestSupport
 A package of python modules helping to build tests.
 
namespace  TestSupport.Math
 Basic math functions.
 

Functions

 TestSupport.Math._areInstancesOfNumber (a, b)
 
 TestSupport.Math._areOfTypeListOrTuple (a, b)
 
 TestSupport.Math._haveEqualLength (a, b)
 
 TestSupport.Math._areEqual (a, b, epsilon)
 
 TestSupport.Math._isLessThan (a, b)
 
 TestSupport.Math.compareFloatEqual (a, b, epsilon=0.0001)
 Compare the given float values or lists of float values for equality.
 
 TestSupport.Math.compareFloatLessThan (a, b)
 Compare the two given float values if the first is less than the second.
 
 TestSupport.Math.compareFloatLessThanOrEqual (a, b, epsilon=0.0001)
 Compare the two given float values if the first is less than or equal to the second.