TestCenter Reference
|
Basic math functions. More...
Functions | |
_areInstancesOfNumber (a, b) | |
_areOfTypeListOrTuple (a, b) | |
_haveEqualLength (a, b) | |
_areEqual (a, b, epsilon) | |
_isLessThan (a, b) | |
compareFloatEqual (a, b, epsilon=0.0001) | |
Compare the given float values or lists of float values for equality. | |
compareFloatLessThan (a, b) | |
Compare the two given float values if the first is less than the second. | |
compareFloatLessThanOrEqual (a, b, epsilon=0.0001) | |
Compare the two given float values if the first is less than or equal to the second. | |
Basic math functions.
|
protected |
Definition at line 29 of file Math.py.
Referenced by TestSupport.Math.compareFloatEqual().
|
protected |
Definition at line 19 of file Math.py.
Referenced by TestSupport.Math.compareFloatEqual(), and TestSupport.Math.compareFloatLessThan().
|
protected |
Definition at line 22 of file Math.py.
Referenced by TestSupport.Math.compareFloatEqual(), and TestSupport.Math.compareFloatLessThan().
|
protected |
Definition at line 25 of file Math.py.
Referenced by TestSupport.Math.compareFloatEqual(), and TestSupport.Math.compareFloatLessThan().
|
protected |
Definition at line 32 of file Math.py.
Referenced by TestSupport.Math.compareFloatLessThan().
TestSupport.Math.compareFloatEqual | ( | a, | |
b, | |||
epsilon = 0.0001 ) |
Compare the given float values or lists of float values for equality.
@params a The first float value or list of float values or list of lists. @params a The second float value or list of float values or list of lists. @params epsilon The epsilon value to use.
Definition at line 42 of file Math.py.
References TestSupport.Math._areEqual(), TestSupport.Math._areInstancesOfNumber(), TestSupport.Math._areOfTypeListOrTuple(), and TestSupport.Math._haveEqualLength().
TestSupport.Math.compareFloatLessThan | ( | a, | |
b ) |
Compare the two given float values if the first is less than the second.
a | The first value. |
b | The second value. |
Definition at line 70 of file Math.py.
References TestSupport.Math._areInstancesOfNumber(), TestSupport.Math._areOfTypeListOrTuple(), TestSupport.Math._haveEqualLength(), and TestSupport.Math._isLessThan().
Referenced by TestSupport.Math.compareFloatLessThanOrEqual().
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.
a | The first value. |
b | The second value. |
epsilon | Epsilon used for float comparison. |
Definition at line 99 of file Math.py.
References TestSupport.Math.compareFloatLessThan().