Method ForEqualValues
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.assert.dll
ForEqualValues(string, string, string?)
Creates a new instance of NotEqualException to be thrown when two values are equal. This may be simple values (like intrinsics) or complex values (like classes or structs).
public static NotEqualException ForEqualValues(string expected, string actual, string? banner = null)
Parameters
expectedstringThe expected value
actualstringThe actual value
bannerstringThe banner to show; if
null, then the standard banner of "Values are equal" will be used