示例#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);
        }