public void ShowReturnsVisual() { var interpreter = new ScenePropertyInterpreter(); var result = interpreter.Interpret("*show", new SkillFlowInterpretationContext(new SkillFlowInterpretationOptions())); Assert.IsType <Visual>(result.Component); }
public void CreatesComponentCorrectly() { var interpreter = new ScenePropertyInterpreter(); var result = interpreter.Interpret("*then", new SkillFlowInterpretationContext(new SkillFlowInterpretationOptions())); var list = Assert.IsType <SceneInstructions>(result.Component); Assert.Empty(list.Instructions); }