GParse/source/GParseTests/AnonDelimitedTextInputProviderTests.cs
2025-03-21 00:43:59 -06:00

19 lines
406 B
C#

namespace GParseTests;
public class AnonDelimitedTextInputProviderTests
{
[Fact]
public void CanConstruct()
{
_ = new AnonDelimitedTextInputProvider(static () => "");
}
[Fact]
public void ReturnsExpectedText()
{
const string expected = "abc123";
var provider = new AnonDelimitedTextInputProvider(static () => expected);
string actual = provider.GetText();
actual.ShouldBe(expected);
}
}