Skip to main content

IUsintAssertions

Short summary​

This interface provides assert statements for unsigned short integers (USINT)

AccessAbstractFinalExtendsImplements
-NoNo__SYSTEM.IQueryInterface-

UML Diagram​

Methods​

valueIsEqualTo​

  • Parameters:
    • currentValue (USINT): current value to check
    • expectedValue (USINT): expected value to compare
    • message (AssertMessage): message if the assertion is false
  • Return type: VOID

This assertion method checks if the current value is equal to the expected value…

valueIsEven​

  • Parameters:
    • currentValue (USINT): current value to check
    • message (AssertMessage): message if the assertion is false
  • Return type: VOID

This assertion method checks if the current value is even…

valueIsGreaterThan​

  • Parameters:
    • currentValue (USINT): current value to check
    • lessValue (USINT): less than lower limit
    • message (AssertMessage): message if the assertion is false
  • Return type: VOID

This assertion method checks if the current value is greater than the less value…

valueIsInRangeOf​

  • Parameters:
    • lowerLimit (USINT): lower limit for the current value
    • currentValue (USINT): current value to check
    • upperLimit (USINT): upper limit for the current value
    • message (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 (USINT): current value to check
    • greaterValue (USINT): greater than upper limit
    • message (AssertMessage): message if the assertion is false
  • Return type: VOID

This assertion method checks if the current value is less than the greater value…

valueIsMax​

  • Parameters:
    • currentValue (USINT): current value to check
    • maximumValue (USINT): upper limit for the current value
    • message (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 (USINT): current value to check
    • minimumValue (USINT): lower limit for the current value
    • message (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…

valueIsNotEqualTo​

  • Parameters:
    • currentValue (USINT): current value to check
    • unexpectedValue (USINT): unexpected value to compare
    • message (AssertMessage): message if the assertion is false
  • Return type: VOID

This assertion method checks if the current value is not equal to the unexpected value…

valueIsOdd​

  • Parameters:
    • currentValue (USINT): current value to check
    • message (AssertMessage): message if the assertion is false
  • Return type: VOID

This assertion method checks if the current value is odd…

Code​

Declaration​

INTERFACE IUsintAssertions EXTENDS __SYSTEM.IQueryInterface