5 references to ProperSubset
Microsoft.DotNet.XUnitAssert.Tests (5)
SetAssertsTests.cs (5)
57
Assert.Throws<ArgumentNullException>(() => Assert.
ProperSubset
(null!, new HashSet<int>()));
58
Assert.Throws<ProperSubsetException>(() => Assert.
ProperSubset
(new HashSet<int>(), null));
67
var ex = Assert.Throws<ProperSubsetException>(() => Assert.
ProperSubset
(expectedSuperset, actual));
83
Assert.
ProperSubset
(expectedSuperset, actual);
92
Assert.Throws<ProperSubsetException>(() => Assert.
ProperSubset
(expectedSuperset, actual));