Table of Contents

Method False

Namespace
Xunit
Assembly
xunit.v3.assert.dll

False(bool)

Verifies that the condition is false.

public static void False(bool condition)

Parameters

condition bool

The condition to be tested

Exceptions

Thrown if the condition is not false

False(bool?)

Verifies that the condition is false.

public static void False(bool? condition)

Parameters

condition bool?

The condition to be tested

Exceptions

Thrown if the condition is not false

False(bool, string?)

Verifies that the condition is false.

public static void False(bool condition, string? userMessage)

Parameters

condition bool

The condition to be tested

userMessage string

The message to show when the condition is not false

Exceptions

Thrown if the condition is not false

False(bool?, string?)

Verifies that the condition is false.

public static void False(bool? condition, string? userMessage)

Parameters

condition bool?

The condition to be tested

userMessage string

The message to show when the condition is not false

Exceptions

Thrown if the condition is not false