public void ShouldStayInHoleInNeckOnAnyOtherButton() { HoleInNeck holeInNeck = new HoleInNeck(); var state = holeInNeck.handleInput(KeyCode.Z); Assert.IsInstanceOf <HoleInNeck> (state); }
public void ShouldTransitionToStateStartOnButtonPressEsc() { HoleInNeck holeInNeck = new HoleInNeck(); var state = holeInNeck.handleInput(KeyCode.Escape); Assert.IsInstanceOf <StateStart> (state); }