assertNotEqual
Validates that the given unexpected
value is not equal to actual
. An optional custom failureMessage
can be given for displaying should the validation fails.
assertNotEqual(unexpected, actual)
# Or
assertNotEqual(unexpected, actual, failureMessage)
#
Parametersunexpected
: The unexpected valueactual
: The actual valuefailureMessage
: An optionalstring
message to show when validation fails
#
Returns- No value
#
ExampleassertNotEqual(11, 5 * 2)