public void CorrectlyIdentifiesText() { var interpreter = new SlotAssignmentInterpreter(); var context = new SkillFlowInterpretationContext(new SkillFlowInterpretationOptions()); context.Components.Push(new SceneInstructions()); Assert.True(interpreter.CanInterpret("slot bottles to 'AMAZON.Number'", context)); }
public void CorrectlyIdentifiesFalseText() { var interpreter = new SlotAssignmentInterpreter(); Assert.False(interpreter.CanInterpret("slot bottles to AMAZON.Number", new SkillFlowInterpretationContext(new SkillFlowInterpretationOptions()))); }