Class IdentityAsserts
- Namespace
- Asserts
- Assembly
- xunit.v3.assert.dll
public class IdentityAsserts
- Inheritance
-
IdentityAsserts
- Inherited Members
Methods
NotSame(object?, object?)
Verifies that two objects are not the same instance.
public static void NotSame(object? expected, object? actual)
Parameters
Examples
Add an example for this method ?
Contribution guide.
Exceptions
- NotSameException
Thrown when the objects are the same instance
Same(object?, object?)
Verifies that two objects are the same instance.
public static void Same(object? expected, object? actual)
Parameters
Examples
Add an example for this method ?
Contribution guide.
Exceptions
- SameException
Thrown when the objects are not the same instance