9 references to StartsWith
Microsoft.DotNet.XUnitAssert.Tests (9)
MemoryAssertsTests.cs (5)
842
Assert.
StartsWith
("Hello".AsMemory(), "Hello, world!".Memoryify());
864
assertFailure(() => Assert.
StartsWith
("hey".AsMemory(), "Hello, world!".Memoryify()));
886
assertFailure(() => Assert.
StartsWith
("WORLD!".AsMemory(), "world!".Memoryify()));
916
assertFailure(() => Assert.
StartsWith
("foo".AsMemory(), null));
940
assertFailure(() => Assert.
StartsWith
(expected.AsMemory(), actual.Memoryify()));
StringAssertsTests.cs (4)
836
Assert.
StartsWith
("Hello".AsMemory(), "Hello, world!".Memoryify());
865
verify(() => Assert.
StartsWith
("hey".AsMemory(), "Hello, world!".Memoryify()));
894
verify(() => Assert.
StartsWith
("WORLD!".AsMemory(), "world!".Memoryify()));
956
verify(() => Assert.
StartsWith
(expected.AsMemory(), actual.Memoryify()));