Skip to content

Assert.False

jnm2 edited this page Mar 18, 2017 · 5 revisions

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[] parms );

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

See also...

Clone this wiki locally