Method Subset
- Namespace
- Xunit
- Assembly
- xunit.v3.assert.dll
Subset<T>(ISet<T>, ISet<T>?)
Verifies that a set is a subset of another set.
public static void Subset<T>(ISet<T> expectedSubset, ISet<T>? actual)
Parameters
Type Parameters
TThe type of the object to be verified
Exceptions
Thrown when the actual set is not a subset of the expected set