public void DecreaseCorrectlyIdentifiesText() { var interpreter = new IncrementInterpreter(); var context = new SkillFlowInterpretationContext(new SkillFlowInterpretationOptions()); context.Components.Push(new SceneInstructions()); Assert.True(interpreter.CanInterpret("decrease test to 3", context)); }
public void DecreaseCorrectlyIdentifiesFalseText() { var interpreter = new IncrementInterpreter(); Assert.False(interpreter.CanInterpret("decrease test to test", new SkillFlowInterpretationContext(new SkillFlowInterpretationOptions()))); }