8 references to StartsWith
Microsoft.DotNet.XUnitAssert.Tests (8)
SpanAssertsTests.cs (4)
841
Assert.
StartsWith
("Hello".AsSpan(), "Hello, world!".AsSpan());
863
assertFailure(() => Assert.
StartsWith
("hey".AsSpan(), "Hello, world!".AsSpan()));
885
assertFailure(() => Assert.
StartsWith
("WORLD!".AsSpan(), "world!".AsSpan()));
939
assertFailure(() => Assert.
StartsWith
(expected.AsSpan(), actual.AsSpan()));
StringAssertsTests.cs (4)
842
Assert.
StartsWith
("Hello".AsSpan(), "Hello, world!".AsSpan());
871
verify(() => Assert.
StartsWith
("hey".AsSpan(), "Hello, world!".AsSpan()));
900
verify(() => Assert.
StartsWith
("WORLD!".AsSpan(), "world!".AsSpan()));
962
verify(() => Assert.
StartsWith
(expected.AsSpan(), actual.AsSpan()));