Exemplo n.º 1
0
        public void ShouldStayInStabbedInEyeOnAnyOtherButton()
        {
            StabbedInEye stabbedInEye = new StabbedInEye();

            var state = stabbedInEye.handleInput(KeyCode.Z);

            Assert.IsInstanceOf <StabbedInEye> (state);
        }
Exemplo n.º 2
0
        public void ShouldTransitionToStateStartOnButtonPressEsc()
        {
            StabbedInEye stabbedInEye = new StabbedInEye();

            var state = stabbedInEye.handleInput(KeyCode.Escape);

            Assert.IsInstanceOf <StateStart> (state);
        }