Assert Methods

The Assert type exposes the following members.

Methods
  NameDescription
Public methodStatic memberContains
Raise an error if the text does not contain the value.
Public methodStatic memberEquals
Test that two objects are equal and raise an exception if the result is false
Public methodStatic memberFail
Raise an error.
Public methodStatic memberFalse
Raise an error if the value is false.
Public methodStatic memberMatches
Raise an error if the text matches the pattern.
Public methodStatic memberNotEquals
Test that two objects are not equal and raise an exception if the result is false
Public methodStatic memberNotMatches
Raise an error if the text does not match the pattern.
Public methodStatic memberTrue
Raise an error if the value is true.
Top
See Also