Exemplo n.º 1
0
        public void LizardPoisonsSpock()
        {
            Game game = new Game();

            Assert.AreEqual(PlayResult.FirstPlayer, game.DoPlay(Play.Lizard, Play.Spock));
        }
Exemplo n.º 2
0
        public void PaperCoversRock()
        {
            Game game = new Game();

            Assert.AreEqual(PlayResult.FirstPlayer, game.DoPlay(Play.Paper, Play.Rock));
        }
Exemplo n.º 3
0
        public void LizardIsCrushedByRock()
        {
            Game game = new Game();

            Assert.AreEqual(PlayResult.SecondPlayer, game.DoPlay(Play.Lizard, Play.Rock));
        }
Exemplo n.º 4
0
        public void LizardIsDecapitedByScissors()
        {
            Game game = new Game();

            Assert.AreEqual(PlayResult.SecondPlayer, game.DoPlay(Play.Lizard, Play.Scissors));
        }
Exemplo n.º 5
0
        public void RockCrushesLizard()
        {
            Game game = new Game();

            Assert.AreEqual(PlayResult.FirstPlayer, game.DoPlay(Play.Rock, Play.Lizard));
        }
Exemplo n.º 6
0
        public void ScissorsAreBrokenByRock()
        {
            Game game = new Game();

            Assert.AreEqual(PlayResult.SecondPlayer, game.DoPlay(Play.Scissors, Play.Rock));
        }
Exemplo n.º 7
0
        public void SpockSmashesScissors()
        {
            Game game = new Game();

            Assert.AreEqual(PlayResult.FirstPlayer, game.DoPlay(Play.Spock, Play.Scissors));
        }
Exemplo n.º 8
0
        public void PaperIsEatenByLizard()
        {
            Game game = new Game();

            Assert.AreEqual(PlayResult.SecondPlayer, game.DoPlay(Play.Paper, Play.Lizard));
        }
Exemplo n.º 9
0
        public void SpockIsDisprovedByPaper()
        {
            Game game = new Game();

            Assert.AreEqual(PlayResult.SecondPlayer, game.DoPlay(Play.Spock, Play.Paper));
        }
Exemplo n.º 10
0
        public void SpockIsPoisonedByLizard()
        {
            Game game = new Game();

            Assert.AreEqual(PlayResult.SecondPlayer, game.DoPlay(Play.Spock, Play.Lizard));
        }
Exemplo n.º 11
0
        public void ScissorsDecapiteLizard()
        {
            Game game = new Game();

            Assert.AreEqual(PlayResult.FirstPlayer, game.DoPlay(Play.Scissors, Play.Lizard));
        }
Exemplo n.º 12
0
        public void ScissorsCutPaper()
        {
            Game game = new Game();

            Assert.AreEqual(PlayResult.FirstPlayer, game.DoPlay(Play.Scissors, Play.Paper));
        }
Exemplo n.º 13
0
        public void ScissorsAreSmashedBySpock()
        {
            Game game = new Game();

            Assert.AreEqual(PlayResult.SecondPlayer, game.DoPlay(Play.Scissors, Play.Spock));
        }
Exemplo n.º 14
0
        public void PaperDisprovesSpock()
        {
            Game game = new Game();

            Assert.AreEqual(PlayResult.FirstPlayer, game.DoPlay(Play.Paper, Play.Spock));
        }
Exemplo n.º 15
0
        public void SpockVaporizesRock()
        {
            Game game = new Game();

            Assert.AreEqual(PlayResult.FirstPlayer, game.DoPlay(Play.Spock, Play.Rock));
        }
Exemplo n.º 16
0
        public void PaperIsCutByScissors()
        {
            Game game = new Game();

            Assert.AreEqual(PlayResult.SecondPlayer, game.DoPlay(Play.Paper, Play.Scissors));
        }
Exemplo n.º 17
0
        public void LizardEatsPaper()
        {
            Game game = new Game();

            Assert.AreEqual(PlayResult.FirstPlayer, game.DoPlay(Play.Lizard, Play.Paper));
        }
Exemplo n.º 18
0
        public void RockBreaksScissors()
        {
            Game game = new Game();

            Assert.AreEqual(PlayResult.FirstPlayer, game.DoPlay(Play.Rock, Play.Scissors));
        }
Exemplo n.º 19
0
        public void Ties()
        {
            Game game = new Game();

            Assert.AreEqual(PlayResult.Tie, game.DoPlay(Play.Paper, Play.Paper));
            Assert.AreEqual(PlayResult.Tie, game.DoPlay(Play.Scissors, Play.Scissors));
            Assert.AreEqual(PlayResult.Tie, game.DoPlay(Play.Spock, Play.Spock));
            Assert.AreEqual(PlayResult.Tie, game.DoPlay(Play.Lizard, Play.Lizard));
            Assert.AreEqual(PlayResult.Tie, game.DoPlay(Play.Rock, Play.Rock));
        }
Exemplo n.º 20
0
        public void RockIsCoveredByPaper()
        {
            Game game = new Game();

            Assert.AreEqual(PlayResult.SecondPlayer, game.DoPlay(Play.Rock, Play.Paper));
        }
Exemplo n.º 21
0
        public void RockIsVaporizedBySpock()
        {
            Game game = new Game();

            Assert.AreEqual(PlayResult.SecondPlayer, game.DoPlay(Play.Rock, Play.Spock));
        }