Summary
Asserts that two instances of a type are not equal. If equal,
a TCLite.AssertionException
is thrown, ending
the test and reporting it as a Failure.
Syntax
public static void AreNotEqual<T>(T expected, T actual, string message = null, params object[] args)
Type Parameters
Parameters
Name |
Type |
Description |
expected |
T |
The expected value |
actual |
T |
The actual value |
message |
string |
The message to display in case of failure |
args |
object[] |
Array of objects to be used in formatting the message |
Return Value