Beispiel #1
0
        public void GameWinCheck_DetermineWinnerOrDraw_int()
        {
            //arrange
            RockPaperScissorsGame newGame = new RockPaperScissorsGame("Player 1", "Player 2");

            //act
            newGame.SetPlayerOneChoice("Rock");
            newGame.SetPlayerTwoChoice("Scissors");
            int result = newGame.GameWinCheck();

            //assert
            Assert.AreEqual(1, result);
        }