Esempio n. 1
0
 public void RPSWinner_For_returnP2Wins_scissors()
 {
     Game newGame = new Game("paper", "scissors");
       Assert.Equal("Player 2 Wins!!", newGame.RPSWinner());
 }
Esempio n. 2
0
 public void RPSWinner_For_returnP2Wins_Rock()
 {
     Game newGame = new Game("scissors", "rock");
       Assert.Equal("Player 2 Wins!!", newGame.RPSWinner());
 }
Esempio n. 3
0
 public void RPSWinner_ForRockPaper_returnP2Wins_paper()
 {
     Game newGame = new Game("rock", "paper");
       Assert.Equal("Player 2 Wins!!", newGame.RPSWinner());
 }
Esempio n. 4
0
 public void RPSWinner_For_returnP1Wins_paper()
 {
     Game newGame = new Game("PAPer", "rock");
       Assert.Equal("Player 1 Wins!!", newGame.RPSWinner());
 }
Esempio n. 5
0
 public void RPSWinner_ForDraw_returnP2_and_P1_DRAW()
 {
     Game newGame = new Game("paper", "paper");
       Assert.Equal("draw", newGame.RPSWinner());
 }