Exemple #1
0
 public void ChooseCheat_When_OpponentCheats()
 {
     for (int i = 1; i < RoundsToTest; i++)
     {
         Choice choice = Strategy.GetNextChoice(GameScenarios.AllCheat(i), GameScenarios.AllCheat(i));
         Assert.AreEqual(Choice.Cheat, choice);
     }
 }
Exemple #2
0
 public void ChooseCoop_When_OwnPreviousIsCheat()
 {
     for (int i = 1; i < RoundsToTest; i++)
     {
         Choice choice = Strategy.GetNextChoice(GameScenarios.AllCheat(i), GameScenarios.RandomChoices(i));
         Assert.AreEqual(Choice.Coop, choice);
     }
 }