public void ScissorsAlwaysDrawsScissors() { IPlayer player1 = new ScissorsPlayer(); IPlayer player2 = new ScissorsPlayer(); RockPaperScissorsGame game = new RockPaperScissorsGame(player1, player2); Outcome result = game.Play(); Assert.AreEqual(Outcome.Draw, result); }
public void RockAlwaysBeatsScissors() { IPlayer player1 = new RockPlayer(); IPlayer player2 = new ScissorsPlayer(); RockPaperScissorsGame game = new RockPaperScissorsGame(player1, player2); Outcome result = game.Play(); Assert.AreEqual(Outcome.Player1Wins, result); }