public void TestConditionalChoiceInWeave2()
{
var storyStr =
@"
- first gather
* option 1
* option 2
- the main gather
{false:
* unreachable option
}
- unrechable gather
";
Story story = CompileString(storyStr);
Assert.AreEqual("first gather\n", story.Continue());
Assert.AreEqual(2, story.currentChoices.Count);
story.ChooseChoiceIndex(0);
Assert.AreEqual("option 1\nthe main gather\n", story.ContinueMaximally());
Assert.AreEqual(0, story.currentChoices.Count);
}