8 references to StartsWith
Microsoft.DotNet.XUnitAssert.Tests (8)
SpanAssertsTests.cs (4)
843
Assert.
StartsWith
("Hello".Spanify(), "Hello, world!".AsSpan());
865
assertFailure(() => Assert.
StartsWith
("hey".Spanify(), "Hello, world!".AsSpan()));
887
assertFailure(() => Assert.
StartsWith
("WORLD!".Spanify(), "world!".AsSpan()));
941
assertFailure(() => Assert.
StartsWith
(expected.Spanify(), actual.AsSpan()));
StringAssertsTests.cs (4)
841
Assert.
StartsWith
("Hello".Spanify(), "Hello, world!".AsSpan());
870
verify(() => Assert.
StartsWith
("hey".Spanify(), "Hello, world!".AsSpan()));
899
verify(() => Assert.
StartsWith
("WORLD!".Spanify(), "world!".AsSpan()));
961
verify(() => Assert.
StartsWith
(expected.Spanify(), actual.AsSpan()));