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