Export (0) Print
Expand All

Assert.AreNotEqual Method

Verifies that specified values are not equal.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member AreNotEqual(Object, Object) Verifies that two specified objects are not equal. The assertion fails if the objects are equal.
Public method Static member AreNotEqual<T>(T, T) Verifies that two specified generic type data are not equal. The assertion fails if they are equal.
Public method Static member AreNotEqual(Double, Double, Double) Verifies that two specified doubles are not equal, and not within the specified accuracy of each other. The assertion fails if they are equal or within the specified accuracy of each other.
Public method Static member AreNotEqual(Object, Object, String) Verifies that two specified objects are not equal. The assertion fails if the objects are equal. Displays a message if the assertion fails.
Public method Static member AreNotEqual(Single, Single, Single) Verifies that two specified singles are not equal, and not within the specified accuracy of each other. The assertion fails if they are equal or within the specified accuracy of each other.
Public method Static member AreNotEqual(String, String, Boolean) Verifies that two specified strings are not equal, ignoring case or not as specified. The assertion fails if they are equal.
Public method Static member AreNotEqual<T>(T, T, String) Verifies that two specified generic type data are not equal. The assertion fails if they are equal. Displays a message if the assertion fails.
Public method Static member AreNotEqual(Double, Double, Double, String) Verifies that two specified doubles are not equal, and not within the specified accuracy of each other. The assertion fails if they are equal or within the specified accuracy of each other. Displays a message if the assertion fails.
Public method Static member AreNotEqual(Object, Object, String, Object[]) Verifies that two specified objects are not equal. The assertion fails if the objects are equal. Displays a message if the assertion fails, and applies the specified formatting to it.
Public method Static member AreNotEqual(Single, Single, Single, String) Verifies that two specified singles are not equal, and not within the specified accuracy of each other. The assertion fails if they are equal or within the specified accuracy of each other. Displays a message if the assertion fails.
Public method Static member AreNotEqual(String, String, Boolean, CultureInfo) Verifies that two specified strings are not equal, ignoring case or not as specified, and using the culture info specified. The assertion fails if they are equal.
Public method Static member AreNotEqual(String, String, Boolean, String) Verifies that two specified strings are not equal, ignoring case or not as specified. The assertion fails if they are equal. Displays a message if the assertion fails.
Public method Static member AreNotEqual<T>(T, T, String, Object[]) Verifies that two specified generic type data are not equal. The assertion fails if they are equal. Displays a message if the assertion fails, and applies the specified formatting to it.
Public method Static member AreNotEqual(Double, Double, Double, String, Object[]) Verifies that two specified doubles are not equal, and not within the specified accuracy of each other. The assertion fails if they are equal or within the specified accuracy of each other. Displays a message if the assertion fails, and applies the specified formatting to it.
Public method Static member AreNotEqual(Single, Single, Single, String, Object[]) Verifies that two specified singles are not equal, and not within the specified accuracy of each other. The assertion fails if they are equal or within the specified accuracy of each other. Displays a message if the assertion fails, and applies the specified formatting to it.
Public method Static member AreNotEqual(String, String, Boolean, CultureInfo, String) Verifies that two specified strings are not equal, ignoring case or not as specified, and using the culture info specified. The assertion fails if they are equal. Displays a message if the assertion fails.
Public method Static member AreNotEqual(String, String, Boolean, String, Object[]) Verifies that two specified strings are not equal, ignoring case or not as specified. The assertion fails if they are equal. Displays a message if the assertion fails, and applies the specified formatting to it.
Public method Static member AreNotEqual(String, String, Boolean, CultureInfo, String, Object[]) Verifies that two specified strings are not equal, ignoring case or not as specified, and using the culture info specified. The assertion fails if they are equal. Displays a message if the assertion fails, and applies the specified formatting to it.
Top
Show:
© 2014 Microsoft