예제 #1
0
        public void TestMethod3()
        {
            RussianRoulette.GameClass testShootAway = new RussianRoulette.GameClass();

            int testResultShootAway = testShootAway.SpinLogic();

            Assert.IsTrue(testResultShootAway < 7 && testResultShootAway > 0);
        }
예제 #2
0
        public void TestMethod1()
        {
            RussianRoulette.GameClass test = new RussianRoulette.GameClass();

            int testResult = test.SpinLogic();

            Assert.IsTrue(testResult < 7 && testResult > 0);
        }
예제 #3
0
        public void TestMethod2()
        {
            RussianRoulette.GameClass testshoot = new RussianRoulette.GameClass();

            int testResultshoot = testshoot.ShootLogic();

            Assert.IsTrue(testResultshoot <= 4 && testResultshoot > 0);
        }