6 references to Subset
Microsoft.DotNet.XUnitAssert.Tests (5)
SetAssertsTests.cs (5)
249
Assert.Throws<ArgumentNullException>("expectedSubset", () => Assert.
Subset
(null!, new HashSet<int>()));
258
Assert.
Subset
(expectedSubset, actual);
267
Assert.
Subset
(expectedSubset, actual);
276
var ex = Record.Exception(() => Assert.
Subset
(expectedSubset, actual));
290
var ex = Record.Exception(() => Assert.
Subset
(new HashSet<int>(), null));
Microsoft.ML.Core.Tests (1)
UnitTests\TestEntryPoints.cs (1)
6129
Assert.
Subset
(new HashSet<string>() { "Private", "?", "Federal-gov" }, new HashSet<string>() { name.ToString() });