Пример #1
0
        public void Paper_IsCut_Scissor()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Paper.GetInstance(), Scissor.GetInstance());

            Assert.AreEqual("Scissor", item);
        }
Пример #2
0
        public void Rock_IsCovered_By_Paper()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Rock.GetInstance(), Paper.GetInstance());

            Assert.AreEqual("Paper", item);
        }
Пример #3
0
        public void Paper_Covers_Rock()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Paper.GetInstance(), Rock.GetInstance());

            Assert.AreEqual("Paper", item);
        }
Пример #4
0
        public void Scissors_IsCrushed_ByRock()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Scissor.GetInstance(), Rock.GetInstance());

            Assert.AreEqual("Rock", item);
        }
Пример #5
0
        public void Lizard_Draws_Lizard()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Lizard.GetInstance(), Lizard.GetInstance());

            Assert.AreEqual("Draw", item);
        }
Пример #6
0
        public void Scissor_Draws_Scissor()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Scissor.GetInstance(), Scissor.GetInstance());

            Assert.AreEqual("Draw", item);
        }
Пример #7
0
        public void Paper_IsEaten_ByLizard()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Paper.GetInstance(), Lizard.GetInstance());

            Assert.AreEqual("Lizard", item);
        }
Пример #8
0
        public void Lizard_Poisons_Spock()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Lizard.GetInstance(), Spock.GetInstance());

            Assert.AreEqual("Lizard", item);
        }
Пример #9
0
        public void Lizard_IsDecapitated_ByScissor()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Lizard.GetInstance(), Scissor.GetInstance());

            Assert.AreEqual("Scissor", item);
        }
Пример #10
0
        public void Lizard_Eats_Paper()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Lizard.GetInstance(), Paper.GetInstance());

            Assert.AreEqual("Lizard", item);
        }
Пример #11
0
        public void Scissor_Decapitate_Lizard()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Scissor.GetInstance(), Lizard.GetInstance());

            Assert.AreEqual("Scissor", item);
        }
Пример #12
0
        public void Scissor_IsSmashed_BySpock()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Scissor.GetInstance(), Spock.GetInstance());

            Assert.AreEqual("Spock", item);
        }
Пример #13
0
        public void Scissor_Cuts_Paper()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Scissor.GetInstance(), Paper.GetInstance());

            Assert.AreEqual("Scissor", item);
        }
Пример #14
0
        public void Rock_Crushes_Lizard()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Rock.GetInstance(), Lizard.GetInstance());

            Assert.AreEqual("Rock", item);
        }
Пример #15
0
        public void Spock_IsDisaproved_ByPaper()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Spock.GetInstance(), Paper.GetInstance());

            Assert.AreEqual("Paper", item);
        }
Пример #16
0
        public void Lizard_IsCrushed_By_Rock()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Lizard.GetInstance(), Rock.GetInstance());

            Assert.AreEqual("Rock", item);
        }
Пример #17
0
        public void Spock_Vaporizes_Rock()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Spock.GetInstance(), Rock.GetInstance());

            Assert.AreEqual("Spock", item);
        }
Пример #18
0
        public void Spock_IsPoisoned_ByLizard()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Spock.GetInstance(), Lizard.GetInstance());

            Assert.AreEqual("Lizard", item);
        }
Пример #19
0
        public void Rock_IsVaporized_BySpock()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Rock.GetInstance(), Spock.GetInstance());

            Assert.AreEqual("Spock", item);
        }
Пример #20
0
        public void Rock_Draws_Rock()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Rock.GetInstance(), Rock.GetInstance());

            Assert.AreEqual("Draw", item);
        }
Пример #21
0
        public void Paper_Draws_Paper()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Paper.GetInstance(), Paper.GetInstance());

            Assert.AreEqual("Draw", item);
        }