public void shouldStayInBleedingNeckOnButtonPressAnyOther() { BleedingNeck bleedingNeck = new BleedingNeck(); var state = bleedingNeck.handleInput(KeyCode.Z); Assert.IsInstanceOf <BleedingNeck> (state); }
public void shouldTransitionToStateStartOnButtonPressEsc() { BleedingNeck bleedingNeck = new BleedingNeck(); var state = bleedingNeck.handleInput(KeyCode.Escape); Assert.IsInstanceOf <StateStart> (state); }