19 lines
406 B
C#
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);
|
|
}
|
|
} |