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

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

private TestShouldntGatherDueToChoice ( ) : void
Результат void
        public void TestShouldntGatherDueToChoice()
        {
            Story story = CompileString(@"
* opt
    - - text
    * * {false} impossible
- gather");

            story.ContinueMaximally();
            story.ChooseChoiceIndex(0);

            // Shouldn't go to "gather"
            Assert.AreEqual("opt\ntext\n", story.ContinueMaximally());
        }
Tests