Exemple #1
0
        public void Paper_IsCut_Scissor()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Paper.GetInstance(), Scissor.GetInstance());

            Assert.AreEqual("Scissor", item);
        }
Exemple #2
0
        public void Rock_Crushes_Scissors()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Rock.GetInstance(), Scissor.GetInstance());

            Assert.AreEqual("Rock", item);
        }
Exemple #3
0
        public void Scissors_IsCrushed_ByRock()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Scissor.GetInstance(), Rock.GetInstance());

            Assert.AreEqual("Rock", item);
        }
Exemple #4
0
        public void Lizard_IsDecapitated_ByScissor()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Lizard.GetInstance(), Scissor.GetInstance());

            Assert.AreEqual("Scissor", item);
        }
Exemple #5
0
        public void Scissor_Decapitate_Lizard()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Scissor.GetInstance(), Lizard.GetInstance());

            Assert.AreEqual("Scissor", item);
        }
Exemple #6
0
        public void Scissor_IsSmashed_BySpock()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Scissor.GetInstance(), Spock.GetInstance());

            Assert.AreEqual("Spock", item);
        }
Exemple #7
0
        public void Scissor_Cuts_Paper()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Scissor.GetInstance(), Paper.GetInstance());

            Assert.AreEqual("Scissor", item);
        }
Exemple #8
0
        public void Scissor_Draws_Scissor()
        {
            var    gameMatch = new GameMatch();
            string item      = gameMatch.Decide(Scissor.GetInstance(), Scissor.GetInstance());

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