Assert.

IsFalse(bool, string, object[]) Method

Summary

Asserts that a condition is false. If the condition is true the method throws a TCLite.AssertionException, ending the running test and reporting it as a Failure.
Namespace
TCLite
Containing Type
Assert

Syntax

public static void IsFalse(bool condition, string message = null, params object[] args)

Parameters

Name Type Description
condition bool The evaluated condition
message string The message to display in case of failure
args object[] Array of objects to be used in formatting the message

Return Value

Type Description
void