Ejemplo n.º 1
0
        public void Construction_OnEquatorButtonTouched()
        {
            equatorGridToggleButtonMock_.ButtonStateChanged += Raise.Event <Action <bool> >(true);
            equatorGridToggleButtonMock_.ButtonStateChanged += Raise.Event <Action <bool> >(false);

            equatorCircleBehaviourMock_.Received(1).State = true;
            equatorCircleBehaviourMock_.Received(1).State = false;
        }
Ejemplo n.º 2
0
        public void Construction_OnDirectionGridButtonTouched()
        {
            directionGridToggleButtonMock_.ButtonStateChanged += Raise.Event <Action <bool> >(true);
            directionGridToggleButtonMock_.ButtonStateChanged += Raise.Event <Action <bool> >(false);

            directionCircleBehaviourMock_.Received(1).State = true;
            directionCircleBehaviourMock_.Received(1).State = false;
        }