HDfprintf(stderr,"coords[%u]=%Hu, new_coords[%u]=%Hu\n", (unsigned)v, coords[v], (unsigned)v, new_coords[v]);
 
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Copyright by The HDF Group.                                               *
 * Copyright by the Board of Trustees of the University of Illinois.         *
 * All rights reserved.                                                      *
 *                                                                           *
 * This file is part of HDF5.  The full HDF5 copyright notice, including     *
 * terms governing use, modification, and redistribution, is contained in    *
 * the COPYING file, which can be found at the root of the source code       *
 * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.  *
 * If you do not have access to either file, you may request a copy from     *
 * help@hdfgroup.org.                                                        *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* Programmer:  Robb Matzke <matzke@llnl.gov>
 *      Friday, October 10, 1997
 *
 * Purpose: Hyperslab operations are rather complex, so this file
 *      attempts to test them extensively so we can be relatively
 *      sure they really work.  We only test 1d, 2d, and 3d cases
 *      because testing general dimensionalities would require us to
 *      rewrite much of the hyperslab stuff.
 */
#include "h5test.h"
#include "H5private.h"
#include "H5Eprivate.h"
#include "H5VMprivate.h"
#define TEST_SMALL  0x0001
#define TEST_MEDIUM 0x0002
#define VARIABLE_SRC    0
#define VARIABLE_DST    1
#define VARIABLE_BOTH   2
#define ARRAY_FILL_SIZE 4
#define ARRAY_OFFSET_NDIMS 3
/*-------------------------------------------------------------------------
 * Function:    init_full
 *
 * Purpose: Initialize full array.
 *
 * Return:  void
 *
 * Programmer:  Robb Matzke
 *      Friday, October 10, 1997
 *
 *-------------------------------------------------------------------------
 */
static unsigned