示例#1
0
        public void OuitGame_RotateGun_ReturnsYes()

        {
            // Arrange -

            Quit myGame = new Quit();

            myGame.Quit = YesNo;



            // Act -

            var result = myGame.Yes();



            // Assert

            Assert.IsTrue((bool)result);
        }
示例#2
0
        public void ShootAway_RotateGun_ReturnsTrue()

        {
            // Arrange -

            Quit myGame = new Quit();

            myGame.Quit = 5;



            // Act -

            var result = myGame.Yes();



            // Assert

            Assert.IsTrue((bool)result);
        }