public void CorrectlyIdentifiesReturn() { var interpreter = new GoToInterpreter(); var context = new SkillFlowInterpretationContext(new SkillFlowInterpretationOptions()); context.Components.Push(new SceneInstructions()); Assert.True(interpreter.CanInterpret("<->", context)); }
public void CorrectlyIdentifiesFalseText() { var interpreter = new GoToInterpreter(); Assert.False(interpreter.CanInterpret("=>", new SkillFlowInterpretationContext(new SkillFlowInterpretationOptions()))); }