public void PaperVsScissorsLose()
        {
            var user = new Paper();
            var computer = new Scissors();

            var result = user.Challenge(computer);

            Assert.AreEqual(GameResult.Lose, result);
        }
        public void PaperVsScissorsNotEqualWin()
        {
            var user = new Paper();
            var computer = new Scissors();

            var result = user.Challenge(computer);

            Assert.AreNotEqual(GameResult.Win, result);
        }
        public void PaperVsRockNotEqualTie()
        {
            var user = new Paper();
            var computer = new Rock();

            var result = user.Challenge(computer);

            Assert.AreNotEqual(GameResult.Tie, result);
        }
        public void PaperVsRockWin()
        {
            var user = new Paper();
            var computer = new Rock();

            var result = user.Challenge(computer);

            Assert.AreEqual(GameResult.Win, result);
        }
Exemple #5
0
        public void PaperVsRockNotEqualLose()
        {
            var user     = new Paper();
            var computer = new Rock();

            var result = user.Challenge(computer);

            Assert.AreNotEqual(GameResult.Lose, result);
        }
Exemple #6
0
        public void PaperVsScissorsNotEqaulTie()
        {
            var user     = new Paper();
            var computer = new Scissors();

            var result = user.Challenge(computer);

            Assert.AreNotEqual(GameResult.Tie, result);
        }
Exemple #7
0
        public void PaperVsScissorsLose()
        {
            var user     = new Paper();
            var computer = new Scissors();

            var result = user.Challenge(computer);

            Assert.AreEqual(GameResult.Lose, result);
        }
Exemple #8
0
        public void PaperVsPaperTie()
        {
            var user     = new Paper();
            var computer = new Paper();

            var result = user.Challenge(computer);

            Assert.AreEqual(GameResult.Tie, result);
        }
Exemple #9
0
        public void PaperVsRockWin()
        {
            var user     = new Paper();
            var computer = new Rock();

            var result = user.Challenge(computer);

            Assert.AreEqual(GameResult.Win, result);
        }