int test_read_write(int dtype) { int res = 0; res = create_hdf_file(dtype); if(res) {unlink(FILENAME); return res;} res = read_hdf_file(dtype); unlink(FILENAME); return res; }
/* Create and then read the HDF4 test file. */ int test_read_write(int dtype) { if (create_hdf_file(dtype)) return -1; return read_hdf_file(dtype); }