Tests.Tests.TestMultiThread C# (CSharp) Method

TestMultiThread() private method

private TestMultiThread ( ) : void
return void
        public void TestMultiThread()
        {
            Story story = CompileString(@"
-> start
== start ==
-> tunnel ->
The end
-> END

== tunnel ==
<- place1
<- place2
-> DONE

== place1 ==
This is place 1.
* choice in place 1
- ->->

== place2 ==
This is place 2.
* choice in place 2
- ->->
");
            Assert.AreEqual("This is place 1.\nThis is place 2.\n", story.ContinueMaximally());

            story.ChooseChoiceIndex(0);
            Assert.AreEqual("choice in place 1\nThe end\n", story.ContinueMaximally());
            Assert.IsFalse(story.hasError);
        }
Tests