Tests.Tests.TestStringsInChoices C# (CSharp) Method

TestStringsInChoices() private method

private TestStringsInChoices ( ) : void
return void
        public void TestStringsInChoices()
        {
            var story = CompileString(@"
* \ {""test1""} [""test2 {""test3""}""] {""test4""}
-> DONE
");
            story.ContinueMaximally();

            Assert.AreEqual(1, story.currentChoices.Count);
            Assert.AreEqual(@" test1 ""test2 test3""", story.currentChoices[0].text);

            story.ChooseChoiceIndex(0);
            Assert.AreEqual(" test1  test4\n", story.Continue());
        }
Tests