9 references to StartsWith
Microsoft.DotNet.XUnitAssert.Tests (9)
MemoryAssertsTests.cs (5)
844
Assert.
StartsWith
("Hello".Memoryify(), "Hello, world!".Memoryify());
866
assertFailure(() => Assert.
StartsWith
("hey".Memoryify(), "Hello, world!".Memoryify()));
888
assertFailure(() => Assert.
StartsWith
("WORLD!".Memoryify(), "world!".Memoryify()));
917
assertFailure(() => Assert.
StartsWith
("foo".Memoryify(), null));
942
assertFailure(() => Assert.
StartsWith
(expected.Memoryify(), actual.Memoryify()));
StringAssertsTests.cs (4)
835
Assert.
StartsWith
("Hello".Memoryify(), "Hello, world!".Memoryify());
864
verify(() => Assert.
StartsWith
("hey".Memoryify(), "Hello, world!".Memoryify()));
893
verify(() => Assert.
StartsWith
("WORLD!".Memoryify(), "world!".Memoryify()));
955
verify(() => Assert.
StartsWith
(expected.Memoryify(), actual.Memoryify()));