Tests.Tests.TestShuffleStackMuddying C# (CSharp) Method

TestShuffleStackMuddying() private method

private TestShuffleStackMuddying ( ) : void
return void
        public void TestShuffleStackMuddying()
        {
            var story = CompileString (@"
* {condFunc()} [choice 1]
* {condFunc()} [choice 2]
* {condFunc()} [choice 3]
* {condFunc()} [choice 4]


=== function condFunc() ===
{shuffle:
    - ~ return false
    - ~ return true
    - ~ return true
    - ~ return false
}
");

            story.Continue ();

            Assert.AreEqual (2, story.currentChoices.Count);
        }
Tests