9 references to StartsWith
Microsoft.DotNet.XUnitAssert.Tests (2)
MemoryAssertsTests.cs (1)
894
Assert.
StartsWith
("HELLO".AsMemory(), "Hello, world!".AsMemory(), StringComparison.OrdinalIgnoreCase);
StringAssertsTests.cs (1)
912
Assert.
StartsWith
("HELLO".AsMemory(), "Hello, world!".AsMemory(), StringComparison.OrdinalIgnoreCase);
xunit.assert (7)
StringAsserts.cs (7)
1436
StartsWith
((ReadOnlyMemory<char>)expectedStartString, (ReadOnlyMemory<char>)actualString, StringComparison.CurrentCulture);
1447
StartsWith
((ReadOnlyMemory<char>)expectedStartString, actualString, StringComparison.CurrentCulture);
1458
StartsWith
(expectedStartString, (ReadOnlyMemory<char>)actualString, StringComparison.CurrentCulture);
1469
StartsWith
(expectedStartString, actualString, StringComparison.CurrentCulture);
1482
StartsWith
((ReadOnlyMemory<char>)expectedStartString, (ReadOnlyMemory<char>)actualString, comparisonType);
1495
StartsWith
((ReadOnlyMemory<char>)expectedStartString, actualString, comparisonType);
1508
StartsWith
(expectedStartString, (ReadOnlyMemory<char>)actualString, comparisonType);