`
Search Results for

    Show / Hide Table of Contents

    Assert.AreNotEqual

    Assert.AreNotEqual tests whether the two arguments are unequal.

    Assert.AreNotEqual(object expected, object actual);
    Assert.AreNotEqual(object expected, object actual,
                       string message, params object[] params);
    

    See Assert.AreEqual for details of how NUnit performs equality comparisons.

    See Also

    • Assert.AreEqual
    • Equal Constraint
    • Improve this Doc
    In This Article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0