Beispiel #1
0
        public void off_on()
        {
            var transition = new ScreenTransition()
            {
                State = TransitionState.TransitionOff
            };

            Assert.IsTrue(transition.StateChange(true));
        }
Beispiel #2
0
        public void hidden_on()
        {
            var transition = new ScreenTransition()
            {
                State = TransitionState.Hidden
            };

            Assert.IsTrue(transition.StateChange(true));
        }
Beispiel #3
0
        public void active_on()
        {
            var transition = new ScreenTransition()
            {
                State = TransitionState.Active
            };

            Assert.IsFalse(transition.StateChange(true));
        }
Beispiel #4
0
        public void on_on()
        {
            var transition = new ScreenTransition()
            {
                State = TransitionState.TransitionOn
            };

            Assert.IsFalse(transition.StateChange(true));
        }
Beispiel #5
0
        public void hidden_off()
        {
            var transition = new ScreenTransition()
            {
                State = TransitionState.Hidden
            };

            Assert.IsFalse(transition.StateChange(false));
        }