Tests.Tests.TestGatherAtFlowEnd C# (CSharp) Метод

TestGatherAtFlowEnd() приватный Метод

private TestGatherAtFlowEnd ( ) : void
Результат void
        public void TestGatherAtFlowEnd()
        {
            // The final "->" doesn't have anywhere to go, so it should
            // happily just go to the end of the flow.
            var storyStr = "- nothing ->";

            Story story = CompileString(storyStr);

            // Hrm: terminating space is a little bit silly
            // (it's because the divert arrow forces a little bit of
            // whitespace in case you're diverting straight into another line)
            Assert.AreEqual("nothing ", story.ContinueMaximally());
        }
Tests