예제 #1
0
 private static void InitMoveDirectionAndAssert(HandMoveDirection handMoveDirectionX, HandMoveDirection handMoveDirectionY, HandMoveDirection handMoveDirection)
 {
     var md = new MoveDirection()
     {
         X = handMoveDirectionX,
         Y = handMoveDirectionY
     };
     Assert.AreEqual(handMoveDirection, md.CombinedXy);
 }
예제 #2
0
        private static void InitMoveDirectionAndAssert(HandMoveDirection handMoveDirectionX, HandMoveDirection handMoveDirectionY, HandMoveDirection handMoveDirection)
        {
            var md = new MoveDirection()
            {
                X = handMoveDirectionX,
                Y = handMoveDirectionY
            };

            Assert.AreEqual(handMoveDirection, md.CombinedXy);
        }