8 references to DoesNotContain
Microsoft.DotNet.XUnitAssert.Tests (4)
DictionaryAssertsTests.cs (4)
78
Assert.
DoesNotContain
("FORTY-two", (IReadOnlyDictionary<string, int>)dictionary);
81
Assert.
DoesNotContain
("FORTY-two", (IImmutableDictionary<string, int>)dictionary.ToImmutableDictionary());
109
assertFailure(() => Assert.
DoesNotContain
("FORTY-two", (IReadOnlyDictionary<string, int>)dictionary));
112
assertFailure(() => Assert.
DoesNotContain
("FORTY-two", (IImmutableDictionary<string, int>)dictionary.ToImmutableDictionary(StringComparer.InvariantCultureIgnoreCase)));
xunit.assert (4)
DictionaryAsserts.cs (4)
266
DoesNotContain
(expected, (IReadOnlyDictionary<TKey, TValue>)collection);
284
DoesNotContain
(expected, (IReadOnlyDictionary<TKey, TValue>)collection);
302
DoesNotContain
(expected, (IReadOnlyDictionary<TKey, TValue>)collection);
326
DoesNotContain
(expected, (IReadOnlyDictionary<TKey, TValue>)collection);