public void difficultyState_update_medium() { diffCtxt = new DifficultyContext(score); score.ScoreVal += diffCtxt.MediumThreshold+10; diffCtxt.update(); Assert.IsInstanceOfType(diffCtxt.getState(), typeof(MediumState)); }
public void difficultyState_update_easy() { diffCtxt = new DifficultyContext(score); diffCtxt.update(); Assert.IsInstanceOfType(diffCtxt.getState(), typeof(EasyState)); }