Tests.Tests.TestGatherChoiceSameLine C# (CSharp) Method

TestGatherChoiceSameLine() private method

private TestGatherChoiceSameLine ( ) : void
return void
        public void TestGatherChoiceSameLine()
        {
            var storyStr = "- * hello\n- * world";

            Story story = CompileString(storyStr);
            story.Continue();

            Assert.AreEqual("hello", story.currentChoices[0].text);

            story.ChooseChoiceIndex(0);
            story.Continue();

            Assert.AreEqual("world", story.currentChoices[0].text);
        }
Tests