9 references to StartsWith
Microsoft.DotNet.XUnitAssert.Tests (9)
SpanAssertsTests.cs (5)
842
Assert.
StartsWith
("Hello".AsSpan(), "Hello, world!".Spanify());
864
assertFailure(() => Assert.
StartsWith
("hey".AsSpan(), "Hello, world!".Spanify()));
886
assertFailure(() => Assert.
StartsWith
("WORLD!".AsSpan(), "world!".Spanify()));
916
assertFailure(() => Assert.
StartsWith
("foo".AsSpan(), null));
940
assertFailure(() => Assert.
StartsWith
(expected.AsSpan(), actual.Spanify()));
StringAssertsTests.cs (4)
840
Assert.
StartsWith
("Hello".AsSpan(), "Hello, world!".Spanify());
869
verify(() => Assert.
StartsWith
("hey".AsSpan(), "Hello, world!".Spanify()));
898
verify(() => Assert.
StartsWith
("WORLD!".AsSpan(), "world!".Spanify()));
960
verify(() => Assert.
StartsWith
(expected.AsSpan(), actual.Spanify()));