Ejemplo n.º 1
0
        public void PlayerOneScissors_PlayerOneWins_False()
        {
            RPS newGame = new RPS();

            newGame.PlayerOneScissors("Rock");
            int POS = newGame.GetPlayerOneScore();

            Assert.AreEqual(POS, 0);
        }
Ejemplo n.º 2
0
        public void PlayerOnePaper_PlayerOneWins_True()
        {
            RPS newGame = new RPS();

            newGame.PlayerOnePaper("Rock");
            int POS = newGame.GetPlayerOneScore();

            Assert.AreEqual(POS, 1);
        }
Ejemplo n.º 3
0
        public void PlayerOneScissors_PlayerOneWins_True()
        {
            RPS newGame = new RPS();

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

            Assert.AreEqual(POS, 1);
        }
Ejemplo n.º 4
0
        public void PlayerOneRock_PlayerOneWins_False()
        {
            RPS newGame = new RPS();

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

            Assert.AreEqual(POS, 0);
        }