示例#1
0
        public void shouldStayInCellOnButtonPressAnyOther()
        {
            InCell inCell = new InCell();

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

            Assert.IsInstanceOf <InCell> (state);
        }
示例#2
0
        public void shouldTransitionToBleedingNeckOnButtonPressB()
        {
            InCell inCell = new InCell();

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

            Assert.IsInstanceOf <BleedingNeck> (state);
        }
示例#3
0
        public void shouldTransitionToHangingDeadOnButtonPressC()
        {
            InCell inCell = new InCell();

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

            Assert.IsInstanceOf <HangingDead> (state);
        }
示例#4
0
        public void shouldTransitionToSansMethOnButtonPressA()
        {
            InCell inCell = new InCell();

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

            Assert.IsInstanceOf <SansMeth> (state);
        }