public void DoesSimulateWork() { InputUnit input = new InputUnit(); input.Simulate(); Assert.AreEqual(1, input.nextState); }
public void DoesUpdateCurrentStateWork() { InputUnit input = new InputUnit(); input.Simulate(); input.UpdateCurrentState(); Assert.AreEqual(1, input.currentState); }