`
Search Results for

    Show / Hide Table of Contents

    Assert.False

    Assert.False and Assert.IsFalse test that the specified condition is false. The two forms are provided for compatibility with past versions of NUnit and NUnitLite.

    Assert.False(bool condition);
    Assert.False(bool condition, string message, params object[] params);
    
    Assert.IsFalse(bool condition);
    Assert.IsFalse(bool condition, string message, params object[] params);
    

    See Also

    • Condition Constraints
    • 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