37 references to Contains
Aspire.Workload.Tests (1)
StarterTemplateRunTestsBase.cs (1)
135r => Assert.Contains(r, new HashSet<string> { "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" }));
InMemory.FunctionalTests (22)
Http2\Http2ConnectionTests.cs (15)
3297Assert.Contains(1, _abortedStreamIds); 3298Assert.Contains(3, _abortedStreamIds); 3382Assert.Contains(1, _abortedStreamIds); 3383Assert.Contains(3, _abortedStreamIds); 3384Assert.Contains(5, _abortedStreamIds); 3418Assert.Contains(1, _abortedStreamIds); 4303Assert.Contains(1, _abortedStreamIds); 4304Assert.Contains(3, _abortedStreamIds); 4305Assert.Contains(5, _abortedStreamIds); 4382Assert.Contains(1, _abortedStreamIds); 4383Assert.Contains(3, _abortedStreamIds); 4384Assert.Contains(5, _abortedStreamIds); 5070Assert.Contains(1, _abortedStreamIds); 5071Assert.Contains(3, _abortedStreamIds); 5072Assert.Contains(5, _abortedStreamIds);
Http2\Http2StreamTests.cs (7)
3168Assert.Contains(1, _abortedStreamIds); 3201Assert.Contains(1, _abortedStreamIds); 3236Assert.Contains(1, _abortedStreamIds); 3278Assert.Contains(1, _abortedStreamIds); 3322Assert.Contains(1, _abortedStreamIds); 3362Assert.Contains(1, _abortedStreamIds); 3414Assert.Contains(1, _abortedStreamIds);
Microsoft.AspNetCore.OutputCaching.Tests (4)
OutputCachePoliciesTests.cs (2)
178Assert.Contains("tag1", context.Tags); 179Assert.Contains("tag2", context.Tags);
OutputCachePolicyBuilderTests.cs (2)
246Assert.Contains("tag1", context.Tags); 247Assert.Contains("tag2", context.Tags);
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (4)
VisualStudioMSBuildWorkspaceTests.cs (4)
81Assert.Contains("System.Core.dll", fileNames); 82Assert.Contains("System.dll", fileNames); 83Assert.Contains("Microsoft.VisualBasic.dll", fileNames); 84Assert.Contains("mscorlib.dll", fileNames);
Microsoft.DotNet.XUnitAssert.Tests (2)
SetAssertsTests.cs (2)
19 Assert.Contains("FORTY-two", set); 49 assertFailure(() => Assert.Contains("FORTY-two", set));
Microsoft.ML.IntegrationTests (1)
IntrospectiveTraining.cs (1)
376Assert.Contains($"{i}:{value}", uniqueValues);
Microsoft.ML.Tests (3)
Transformers\ValueMappingTests.cs (3)
581Assert.Contains("foo1".AsMemory(), allowedKeyPool); 582Assert.Contains("foo2".AsMemory(), allowedKeyPool); 583Assert.Contains("foo3".AsMemory(), allowedKeyPool);