Esempio n. 1
0
        public void PaperWinCheck_PlayerOnePicksPaper_int()
        {
            //arrange
            RockPaperScissorsGame newGame = new RockPaperScissorsGame("Player 1", "Player 2");

            //act
            newGame.SetPlayerOneChoice("Paper");
            newGame.SetPlayerTwoChoice("Scissors");
            int result = newGame.PaperWinCheck();

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