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

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

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

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

            Assert.AreEqual(POS, 1);
        }