public void ShouldStayInStabbedInEyeOnAnyOtherButton() { StabbedInEye stabbedInEye = new StabbedInEye(); var state = stabbedInEye.handleInput(KeyCode.Z); Assert.IsInstanceOf <StabbedInEye> (state); }
public void ShouldTransitionToStateStartOnButtonPressEsc() { StabbedInEye stabbedInEye = new StabbedInEye(); var state = stabbedInEye.handleInput(KeyCode.Escape); Assert.IsInstanceOf <StateStart> (state); }