Table of Contents

Method ProperSubset

Namespace
Xunit
Assembly
xunit.v3.assert.dll

ProperSubset<T>(ISet<T>, ISet<T>?)

Verifies that a set is a proper subset of another set.

public static void ProperSubset<T>(ISet<T> expectedSubset, ISet<T>? actual)

Parameters

expectedSubset ISet<T>

The expected subset

actual ISet<T>

The set expected to be a proper subset

Type Parameters

T

The type of the object to be verified

Exceptions

Thrown when the actual set is not a proper subset of the expected set