public void StepWithLastChoiceTest() { var contestant1 = new Contestant("TitForTat", new TitForTat()); var result = contestant1.Step(StrategyChoice.Defect); Assert.AreEqual(result, StrategyChoice.Defect); }
public void StepNoLastChoiceTest() { var contestant1 = new Contestant("TitForTat", new TitForTat()); var result = contestant1.Step(null); Assert.AreEqual(result,StrategyChoice.Cooperate); }