Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Overview

Asserts the expected value is not equal to the actual value. If not, an error is thrown.

void myScript.AssertNotEquals(expected: any, actual: any, message: string)

Arguments

any expected
The expected value.
any actual
The actual value.
string message
The message to display if the condition is false.

Example

Script.AssertNotEquals(1, myResult, "Result should not be 1");

Examples

Script.AssertNotEquals(1, myResult, "Result should not be 1");
  • No labels