コード例 #1
0
        public void TestMethod3()
        {
            RussianRoulette.LogicClass testShootAway = new RussianRoulette.LogicClass();

            int testResultShootAway = testShootAway.Spin();

            Assert.IsTrue(testResultShootAway < 7 && testResultShootAway > 0);
        }
コード例 #2
0
        public void TestMethod2()
        {
            RussianRoulette.LogicClass testshoot = new RussianRoulette.LogicClass();

            int testResultshoot = testshoot.ShootAway();

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