Esempio n. 1
0
        public void PlayerOneRock_PlayerOneWins_False()
        {
            RockPaperScissor newGame = new RockPaperScissor();

            newGame.PlayerOneRock("Paper");
            int POS = newGame.GetPlayerOneScore();

            Assert.AreEqual(POS, 0);
        }
Esempio n. 2
0
        public void PlayerOneScissors_PlayerOneWins_True()
        {
            RockPaperScissor newGame = new RockPaperScissor();

            newGame.PlayerOneScissor("Paper");
            int POS = newGame.GetPlayerOneScore();

            Assert.AreEqual(POS, 1);
        }