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); } }
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); } }