BatchFlow.UnitTests.AsciiArt.ThreeStepWithAsciiArt C# (CSharp) Method

ThreeStepWithAsciiArt() private method

private ThreeStepWithAsciiArt ( ) : void
return void
        public void ThreeStepWithAsciiArt()
        {
            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-->b-->c", s, filter, n);

            flow.Start();
            flow.RunToCompletion();
            Assert.AreEqual(4, results.Count);
        }