8 references to Contains
Microsoft.DotNet.XUnitAssert.Tests (8)
MemoryAssertsTests.cs (4)
24
Assert.
Contains
("wor".Memoryify(), "Hello, world!".Memoryify());
44
var ex = Record.Exception(() => Assert.
Contains
("WORLD".Memoryify(), "Hello, world!".Memoryify()));
84
var ex = Record.Exception(() => Assert.
Contains
("foo".Memoryify(), default(string).Memoryify()));
99
() => Assert.
Contains
(
StringAssertsTests.cs (4)
15
Assert.
Contains
("wor".Memoryify(), "Hello, world!".Memoryify());
44
verify(() => Assert.
Contains
("WORLD".Memoryify(), "Hello, world!".Memoryify()));
73
verify(() => Assert.
Contains
("hey".Memoryify(), "Hello, world!".Memoryify()));
119
verify(() => Assert.
Contains
(expected.Memoryify(), actual.Memoryify()));