public void shouldStayInChokedOnBloodOnButtonPressAnyOther() { ChokedOnBlood chokedOnBlood = new ChokedOnBlood(); var state = chokedOnBlood.handleInput(KeyCode.Z); Assert.IsInstanceOf <ChokedOnBlood> (state); }
public void shouldTransitionToStateStartOnButtonPressEsc() { ChokedOnBlood chokedOnBlood = new ChokedOnBlood(); var state = chokedOnBlood.handleInput(KeyCode.Escape); Assert.IsInstanceOf <StateStart> (state); }