public void CorrectlyIdentifiesText() { var interpreter = new ClearInterpreter(); var context = new SkillFlowInterpretationContext(new SkillFlowInterpretationOptions()); context.Components.Push(new SceneInstructions()); Assert.True(interpreter.CanInterpret("clear test", context)); }
public void CorrectlyIdentifiesFalClearext() { var interpreter = new ClearInterpreter(); Assert.False(interpreter.CanInterpret("cleary test", new SkillFlowInterpretationContext(new SkillFlowInterpretationOptions()))); }