Method False
- Namespace
- Xunit
- Assembly
- xunit.v3.assert.dll
False(bool)
Verifies that the condition is false.
public static void False(bool condition)
Parameters
conditionboolThe 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
conditionbool?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
conditionboolThe condition to be tested
userMessagestringThe 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
conditionbool?The condition to be tested
userMessagestringThe message to show when the condition is not false
Exceptions
Thrown if the condition is not false