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

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

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