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

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

private TestNonTextInChoiceInnerContent ( ) : void
Результат void
        public void TestNonTextInChoiceInnerContent()
        {
            var storyStr =
                @"
-> knot
== knot
   *   option text[]. {true: Conditional bit.} -> next
   -> DONE

== next
    Next.
    -> DONE
                ";

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

            story.ChooseChoiceIndex(0);
            Assert.AreEqual("option text. Conditional bit.\n", story.Continue());
            Assert.AreEqual("Next.\n", story.Continue());
        }
Tests