6 references to assertFailure
Microsoft.DotNet.XUnitAssert.Tests (6)
SetAssertsTests.cs (6)
99
assertFailure
(() => Assert.DoesNotContain("FORTY-two", set));
100
assertFailure
(() => Assert.DoesNotContain("FORTY-two", (ISet<string>)set));
101
assertFailure
(() => Assert.DoesNotContain("FORTY-two", set.ToSortedSet(StringComparer.OrdinalIgnoreCase)));
103
assertFailure
(() => Assert.DoesNotContain("FORTY-two", (IReadOnlySet<string>)set));
106
assertFailure
(() => Assert.DoesNotContain("FORTY-two", set.ToImmutableHashSet(StringComparer.OrdinalIgnoreCase)));
107
assertFailure
(() => Assert.DoesNotContain("FORTY-two", set.ToImmutableSortedSet(StringComparer.OrdinalIgnoreCase)));