LrealAssertions
Short summary
This class provides assert statements for 64 bit floatings (LREAL).
| Access | Abstract | Final | Extends | Implements |
|---|---|---|---|---|
| INTERNAL | No | No | AbstractAssertion | ILRealAssertions |
UML Diagram
Parameters
none
Properties
className
Type: CNM_AbstractObject.ClassName
This abstract property returns the class name of the concrete object, …
Methods
isValueInfinite
- Parameters:
value(LREAL): value to check
- Return type:
BOOL
This method checks if a value is infinite…
isValueNaN
- Parameters:
value(LREAL): value to check
- Return type:
BOOL
This method checks if a value is not a number…
isValueNegativeInfinite
- Parameters:
value(LREAL): value to check
- Return type:
BOOL
This method checks if a value is negative infinite…
isValuePositiveInfinite
- Parameters:
value(LREAL): value to check
- Return type:
BOOL
This method checks if a value is positive infinite…
isValueSpecial
- Parameters:
value(LREAL): value to check
- Return type:
BOOL
This method checks if a value is a special value…
valueIsANumber
- Parameters:
currentValue(LREAL): current value to checkmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current value is a number (NOT NaN)…
valueIsEqualTo
- Parameters:
currentValue(LREAL): current value to checkexpectedValue(LREAL): expected value to comparetolerance(LREAL): tolerance to compensate twiddling floats, it has no signmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current value is equal to the expected value…
valueIsFinite
- Parameters:
currentValue(LREAL): current value to checkmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current value is finite…
valueIsGreaterThan
- Parameters:
currentValue(LREAL): current value to checklessValue(LREAL): less than lower limitmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current value is greater than the less value…
valueIsInfinite
- Parameters:
currentValue(LREAL): current value to checkmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current value is infinite…
valueIsInRangeOf
- Parameters:
lowerLimit(LREAL): lower limit for the current valuecurrentValue(LREAL): current value to checkupperLimit(LREAL): upper limit for the current valuemessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current value is inside a limit…
valueIsLessThan
- Parameters:
currentValue(LREAL): current value to checkgreaterValue(LREAL): greater than upper limitmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current value is greater than the less value…
valueIsMax
- Parameters:
currentValue(LREAL): current value to checkmaximumValue(LREAL): upper limit for the current valuemessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current value is less than or equal to the maximum value…
valueIsMin
- Parameters:
currentValue(LREAL): current value to checkminimumValue(LREAL): lower limit for the current valuemessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current value is greater than or equal to the minimum value…
valueIsNaN
- Parameters:
currentValue(LREAL): current value to checkmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current value is a not a number (NaN)