Method StrictEqual
- Namespace
- Xunit
- Assembly
- xunit.v3.assert.dll
StrictEqual<T>(T, T)
Verifies that two objects are strictly equal, using the type's default comparer.
public static void StrictEqual<T>(T expected, T actual)
Parameters
expectedTThe expected value
actualTThe value to be compared against
Type Parameters
TThe type of the objects to be compared