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