Skip to main content

IXintAssertions

Short summary

This interface provides assert statements for signed register length integers (__XINT)

AccessAbstractFinalExtendsImplements
-NoNo__SYSTEM.IQueryInterface-

UML Diagram

Methods

valueIsEqualTo

  • Parameters:
    • currentValue (__XINT): current value to check
    • expectedValue (__XINT): 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 (__XINT): 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 (__XINT): current value to check
    • lessValue (__XINT): 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 (__XINT): lower limit for the current value
    • currentValue (__XINT): current value to check
    • upperLimit (__XINT): 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 (__XINT): current value to check
    • greaterValue (__XINT): 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 (__XINT): current value to check
    • maximumValue (__XINT): 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 (__XINT): current value to check
    • minimumValue (__XINT): 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

valueIsNegative

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

This assertion method checks if the current value is negative

valueIsNotEqualTo

  • Parameters:
    • currentValue (__XINT): current value to check
    • unexpectedValue (__XINT): 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 (__XINT): 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

valueIsPositive

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

This assertion method checks if the current value is positve

Code

Declaration

INTERFACE IXintAssertions EXTENDS __SYSTEM.IQueryInterface