9 references to Contains
Microsoft.DotNet.XUnitAssert.Tests (4)
DictionaryAssertsTests.cs (4)
26 Assert.Equal(42, Assert.Contains("FORTY-two", (IReadOnlyDictionary<string, int>)dictionary)); 29 Assert.Equal(42, Assert.Contains("FORTY-two", (IImmutableDictionary<string, int>)dictionary.ToImmutableDictionary(StringComparer.InvariantCultureIgnoreCase))); 57 assertFailure(() => Assert.Contains("FORTY-two", (IReadOnlyDictionary<string, int>)dictionary)); 60 assertFailure(() => Assert.Contains("FORTY-two", (IImmutableDictionary<string, int>)dictionary.ToImmutableDictionary()));
Microsoft.ML.IntegrationTests (1)
Debugging.cs (1)
189Assert.Contains(line, logWatcher.Lines as IReadOnlyDictionary<string, int>);
xunit.assert (4)
DictionaryAsserts.cs (4)
123 => Contains(expected, (IReadOnlyDictionary<TKey, TValue>)collection); 145 => Contains(expected, (IReadOnlyDictionary<TKey, TValue>)collection); 167 => Contains(expected, (IReadOnlyDictionary<TKey, TValue>)collection); 190 => Contains(expected, (IReadOnlyDictionary<TKey, TValue>)collection);