8 references to EndsWith
Microsoft.DotNet.XUnitAssert.Tests (8)
MemoryAssertsTests.cs (4)
426
Assert.
EndsWith
("world!".Memoryify(), "Hello, world!".AsMemory());
448
assertFailure(() => Assert.
EndsWith
("hey".Memoryify(), "Hello, world!".AsMemory()));
470
assertFailure(() => Assert.
EndsWith
("WORLD!".Memoryify(), "world!".AsMemory()));
524
assertFailure(() => Assert.
EndsWith
(expected.Memoryify(), actual.AsMemory()));
StringAssertsTests.cs (4)
435
Assert.
EndsWith
("world!".Memoryify(), "Hello, world!".AsMemory());
464
verify(() => Assert.
EndsWith
("hey".Memoryify(), "Hello, world!".AsMemory()));
493
verify(() => Assert.
EndsWith
("WORLD!".Memoryify(), "world!".AsMemory()));
555
verify(() => Assert.
EndsWith
(expected.Memoryify(), actual.AsMemory()));