Пример #1
0
        public void TestRAppDecideFateForScissorsVPaper()
        {
            string fate = RoshamboApp.DecideFate(RoshamboV.scissors, RoshamboV.paper);

            Assert.AreEqual("player1", fate);
        }
Пример #2
0
        public void TestRAppDecideFateForRockVPaper()
        {
            string fate = RoshamboApp.DecideFate(RoshamboV.rock, RoshamboV.paper);

            Assert.AreEqual("player2", fate);
        }
Пример #3
0
        public void TestRAppDecideFateForRockVScissors()
        {
            string fate = RoshamboApp.DecideFate(RoshamboV.rock, RoshamboV.scissors);

            Assert.AreEqual("player1", fate);
        }
Пример #4
0
        public void TestRAppDecideFateForRockVRock()
        {
            string fate = RoshamboApp.DecideFate(RoshamboV.rock, RoshamboV.rock);

            Assert.AreEqual("draw", fate);
        }