Пример #1
0
        public void TestMethod1()
        {
            MyShootingGame.MyLogicClass test = new MyShootingGame.MyLogicClass();

            int testResult = test.SpinningLogic();

            Assert.IsTrue(testResult < 7 && testResult > 0);
        }
Пример #2
0
        public void TestMethod2()
        {
            MyShootingGame.MyLogicClass testshoot = new MyShootingGame.MyLogicClass();

            int testResultshoot = testshoot.ShootingLogic();

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