TestCenter Reference
|
Basic math functions. More...
Functions | |
def | compareFloatEqual (a, b, epsilon=0.0001) |
Compare the given float values or lists of float values for equality. More... | |
def | compareFloatLessThan (a, b) |
Compare the two given float values if the first is less than the second. More... | |
def | compareFloatLessThanOrEqual (a, b, epsilon=0.0001) |
Compare the two given float values if the first is less than or equal to the second. More... | |
Basic math functions.
def 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 45 of file Math.py.
Referenced by TestSupport.Math.compareFloatLessThanOrEqual().
def 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 73 of file Math.py.
Referenced by TestSupport.Math.compareFloatLessThanOrEqual().
def 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 102 of file Math.py.
References TestSupport.Math.compareFloatEqual(), and TestSupport.Math.compareFloatLessThan().