Table of Contents

Method Superset

Namespace
Xunit
Assembly
xunit.v3.assert.dll

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

Verifies that a set is a superset of another set.

public static void Superset<T>(ISet<T> expectedSuperset, ISet<T>? actual)

Parameters

expectedSuperset ISet<T>

The expected superset

actual ISet<T>

The set expected to be a superset

Type Parameters

T

The type of the object to be verified

Exceptions

Thrown when the actual set is not a superset of the expected set