public void WhenRightHandIsGrippedAndLeftHandIsRestedThenMoveCanHappen()
        {
            GripHandMove target = new GripHandMove();

            bool actual;
            bool expected = false;

            var rightHand = CommonTest.CreateDummyJointWithSkeletonPoint(1f, 1, -0.2f);
            var leftHand = CommonTest.CreateDummyJointWithSkeletonPoint(0f, 1, 0f);
            var spine = CommonTest.CreateDummyJointWithSkeletonPoint(0.5f, 0.5f, 0);

            actual = target.IdentifyGrippedMove(rightHand, leftHand, spine, true);
            Assert.AreEqual(expected, actual);
            Assert.AreEqual(1, target.State);
        }
        public void GivenRightHandIsGrippedLeftHandIsRestedWhenRightHandMoveDown10cmThenMoveHasHappen()
        {
            GripHandMove target = new GripHandMove();

            bool actual;
            bool expected = false;

            var rightHand = CommonTest.CreateDummyJointWithSkeletonPoint(1f, 1, -0.2f);
            var leftHand = CommonTest.CreateDummyJointWithSkeletonPoint(0f, 1, 0f);
            var spine = CommonTest.CreateDummyJointWithSkeletonPoint(0.5f, 0.5f, 0);

            actual = target.IdentifyGrippedMove(rightHand, leftHand, spine, true);
            Assert.AreEqual(expected, actual);
            Assert.AreEqual(1, target.State);

            rightHand = CommonTest.CreateDummyJointWithSkeletonPoint(1f, 0.9f, -0.2f);
            expected = true;
            actual = target.IdentifyGrippedMove(rightHand, leftHand, spine, true);
            Assert.AreEqual(expected, actual);
            Assert.AreEqual(GestureEvents.MOVE_DOWN, target.Name);
        }