예제 #1
0
        public void ScissorsWinCheck_PlayerOnePicksScissors_int()
        {
            //arrange
            RockPaperScissorsGame newGame = new RockPaperScissorsGame("Player 1", "Player 2");

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

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