예제 #1
0
        public void DoesSimulateWork()
        {
            InputUnit input = new InputUnit();

            input.Simulate();
            Assert.AreEqual(1, input.nextState);
        }
예제 #2
0
        public void DoesUpdateCurrentStateWork()
        {
            InputUnit input = new InputUnit();

            input.Simulate();
            input.UpdateCurrentState();
            Assert.AreEqual(1, input.currentState);
        }