public void ThreeStepWithMultilineAsciiArt()
{
List<string> results = new List<string>();
StartPoint<int> s = Helpers.GetStartpointCounter(1, 15);
TaskNode<int, string> filter = Helpers.GetFilter();
EndPoint<string> n = Helpers.GetEndpoint(results);
Flow flow = Flow.FromAsciiArt(@"
a
|
V
b
|
+->c",
new Dictionary<char, TaskNode>()
{
{'a', s},
{'b', filter},
{'c', n}
}
);
flow.Start();
flow.RunToCompletion();
Assert.AreEqual(4, results.Count);
string outputArt = flow.GetStateSnapshot().ToStringAsciiArt();
Assert.IsFalse(string.IsNullOrEmpty(outputArt));
Console.WriteLine(outputArt);
}