コード例 #1
0
        public void shouldStayMethHeadBleedingOnButtonPressAnyOther()
        {
            MethHeadBleeding methHeadBleeding = new MethHeadBleeding();

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

            Assert.IsInstanceOf <MethHeadBleeding> (state);
        }
コード例 #2
0
        public void shouldTransitionToStabbedInBrainOnButtonPressB()
        {
            MethHeadBleeding methHeadBleeding = new MethHeadBleeding();

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

            Assert.IsInstanceOf <StabbedInBrain> (state);
        }
コード例 #3
0
        public void shouldTransitionToHoleInNeckOnButtonPressC()
        {
            MethHeadBleeding methHeadBleeding = new MethHeadBleeding();

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

            Assert.IsInstanceOf <HoleInNeck> (state);
        }
コード例 #4
0
        public void shouldTransitionToSansShankOnButtonPressA()
        {
            MethHeadBleeding methHeadBleeding = new MethHeadBleeding();

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

            Assert.IsInstanceOf <SansShank> (state);
        }