8 references to StartsWith
Microsoft.DotNet.XUnitAssert.Tests (8)
MemoryAssertsTests.cs (4)
843
Assert.
StartsWith
("Hello".Memoryify(), "Hello, world!".AsMemory());
865
assertFailure(() => Assert.
StartsWith
("hey".Memoryify(), "Hello, world!".AsMemory()));
887
assertFailure(() => Assert.
StartsWith
("WORLD!".Memoryify(), "world!".AsMemory()));
941
assertFailure(() => Assert.
StartsWith
(expected.Memoryify(), actual.AsMemory()));
StringAssertsTests.cs (4)
837
Assert.
StartsWith
("Hello".Memoryify(), "Hello, world!".AsMemory());
866
verify(() => Assert.
StartsWith
("hey".Memoryify(), "Hello, world!".AsMemory()));
895
verify(() => Assert.
StartsWith
("WORLD!".Memoryify(), "world!".AsMemory()));
957
verify(() => Assert.
StartsWith
(expected.Memoryify(), actual.AsMemory()));