Ejemplo n.º 1
0
        public void shouldStayInCellOnButtonPressAnyOther()
        {
            InCell inCell = new InCell();

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

            Assert.IsInstanceOf <InCell> (state);
        }
Ejemplo n.º 2
0
        public void shouldTransitionToBleedingNeckOnButtonPressB()
        {
            InCell inCell = new InCell();

            var state = inCell.handleInput(KeyCode.B);

            Assert.IsInstanceOf <BleedingNeck> (state);
        }
Ejemplo n.º 3
0
        public void shouldTransitionToHangingDeadOnButtonPressC()
        {
            InCell inCell = new InCell();

            var state = inCell.handleInput(KeyCode.C);

            Assert.IsInstanceOf <HangingDead> (state);
        }
Ejemplo n.º 4
0
        public void shouldTransitionToSansMethOnButtonPressA()
        {
            InCell inCell = new InCell();

            var state = inCell.handleInput(KeyCode.A);

            Assert.IsInstanceOf <SansMeth> (state);
        }