summaryrefslogtreecommitdiffstats
path: root/c++/test/dsets.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2007-01-29 02:41:27 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2007-01-29 02:41:27 (GMT)
commit38480e665742a86bd50fad08360ea3e5bde5db9d (patch)
tree3c128222deda0096e081728aa71f2ba72f2a480f /c++/test/dsets.cpp
parentf94e51f7c14f8eb29d96790de4b973d5059902a6 (diff)
downloadhdf5-38480e665742a86bd50fad08360ea3e5bde5db9d.zip
hdf5-38480e665742a86bd50fad08360ea3e5bde5db9d.tar.gz
hdf5-38480e665742a86bd50fad08360ea3e5bde5db9d.tar.bz2
[svn-r13210] Purpose: Adding test
Description: - Added a brief test for DSetCreatPropList::setSzip. More through tests will be added later. - Moved check_values from dsets.cpp into h5cpputil.cpp for sharing with other tests. Platforms tested AIX 5.1 (copper) SunOS 5.8 64-bit (sol) Linux 2.6 (kagiso)
Diffstat (limited to 'c++/test/dsets.cpp')
-rw-r--r--c++/test/dsets.cpp35
1 files changed, 0 insertions, 35 deletions
diff --git a/c++/test/dsets.cpp b/c++/test/dsets.cpp
index c82dc7f..602fb57 100644
--- a/c++/test/dsets.cpp
+++ b/c++/test/dsets.cpp
@@ -182,41 +182,6 @@ test_create( H5File& file)
} // test_create
/*-------------------------------------------------------------------------
- * Function: check_values
- *
- * Purpose: Checks a read value against the written value. If they are
- * different, the function will print out a message and the
- * different values. This function is made to reuse the code
- * segment that is used in various places throughout
- * test_compression and in test_simple_io. Where the C version
- * of this code segment "goto error," this function will
- * return -1.
- *
- * Return: Success: 0
- *
- * Failure: -1
- *
- * Programmer: Binh-Minh Ribler (using C code segment for checking values)
- * Friday, February 6, 2001
- *
- * Modifications:
- *
- *-------------------------------------------------------------------------
- */
-static int
-check_values (hsize_t i, hsize_t j, int apoint, int acheck)
-{
- if (apoint != acheck)
- {
- cerr << " Read different values than written.\n" << endl;
- cerr << " At index " << (unsigned long)i << "," <<
- (unsigned long)j << endl;
- return -1;
- }
- return 0;
-} // check_values
-
-/*-------------------------------------------------------------------------
* Function: test_simple_io
*
* Purpose: Tests simple I/O. That is, reading and writing a complete