Ejemplo n.º 1
0
 public void difficultyState_update_hard()
 {
     diffCtxt        = new DifficultyContext(score);
     score.ScoreVal += diffCtxt.HardThreshold + 10;
     diffCtxt.update();
     Assert.IsInstanceOfType(diffCtxt.getState(), typeof(HardState));
 }
Ejemplo n.º 2
0
 public void difficultyState_update_easy()
 {
     diffCtxt = new DifficultyContext(score);
     diffCtxt.update();
     Assert.IsInstanceOfType(diffCtxt.getState(), typeof(EasyState));
 }