public void TestTempUsageInOptions ()
{
var storyStr =
@"
~ temp one = 1
* \ {one}
- End of choice
-> another
* (another) this [is] another
-> DONE
";
Story story = CompileString (storyStr);
story.Continue ();
Assert.AreEqual (1, story.currentChoices.Count);
Assert.AreEqual (" 1", story.currentChoices[0].text);
story.ChooseChoiceIndex (0);
Assert.AreEqual (" 1\nEnd of choice\nthis another\n", story.ContinueMaximally ());
Assert.AreEqual (0, story.currentChoices.Count);
}