コード例 #1
0
 public void TestFirstAddedStateExists()
 {
     StateSystem stateSystem = new StateSystem();
     stateSystem.AddState("splash1", new SplashScreenState(stateSystem));
     stateSystem.AddState("splash2", new SplashScreenState(stateSystem));
     Assert.IsTrue(stateSystem.Exists("splash1"));
 }
コード例 #2
0
        public void TestFirstAddedStateExists()
        {
            StateSystem stateSystem = new StateSystem();

            stateSystem.AddState("splash1", new SplashScreenState(stateSystem));
            stateSystem.AddState("splash2", new SplashScreenState(stateSystem));
            Assert.IsTrue(stateSystem.Exists("splash1"));
        }
コード例 #3
0
        public void TestAddedStateExists()
        {
            StateSystem stateSystem = new StateSystem();
            stateSystem.AddState("splash", new SplashScreenState(stateSystem));

            // Does the added function now exist?
            Assert.IsTrue(stateSystem.Exists("splash"));
        }
コード例 #4
0
        public void TestAddedStateExists()
        {
            StateSystem stateSystem = new StateSystem();

            stateSystem.AddState("splash", new SplashScreenState(stateSystem));

            // Does the added function now exist?
            Assert.IsTrue(stateSystem.Exists("splash"));
        }