public void GetWinner_BothPlayersSameChoice_Draw() { RockPaperScissors newGame = new RockPaperScissors("Player 1", "Player 2"); newGame.SetPlayer1Choice(3); newGame.SetPlayer2Choice(3); Assert.Equal("Draw", newGame.GetWinner()); }
public void GetWinner_Player2RockPlayer1Scissors_Player2Wins() { RockPaperScissors newGame = new RockPaperScissors("Player 1", "Player 2"); newGame.SetPlayer1Choice(3); newGame.SetPlayer2Choice(1); Assert.Equal("Player 2 Wins!", newGame.GetWinner()); }