diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2008-09-25 20:38:21 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2008-09-25 20:38:21 (GMT) |
commit | a6e2a45d15bc066072d01c4792b810ff47bae377 (patch) | |
tree | 0820b696f13c14f6391cc6946c13128633ad55d8 /tools/h5import/testfiles | |
parent | 41e1d56e32ffc4600068e8a61dd499adad1db5f2 (diff) | |
download | hdf5-a6e2a45d15bc066072d01c4792b810ff47bae377.zip hdf5-a6e2a45d15bc066072d01c4792b810ff47bae377.tar.gz hdf5-a6e2a45d15bc066072d01c4792b810ff47bae377.tar.bz2 |
[svn-r15699] Bug fix #1281
The TEXTFPE was described in the usage (read floats in scientific notation) but was not implemeneted.
Solution:
remove TEXTFPE from the help system and have the TEXTFPE input type do
the same thing as TEXTPF currently does to support backwards compatibility (the format read for both TEXTFPE and TEXTPF is %f)
added a test
tested: windows, linux
Diffstat (limited to 'tools/h5import/testfiles')
-rw-r--r-- | tools/h5import/testfiles/in64.txt | 2 | ||||
-rw-r--r-- | tools/h5import/testfiles/test15.h5 | bin | 0 -> 2064 bytes | |||
-rw-r--r-- | tools/h5import/testfiles/textpfe.conf | 11 |
3 files changed, 13 insertions, 0 deletions
diff --git a/tools/h5import/testfiles/in64.txt b/tools/h5import/testfiles/in64.txt new file mode 100644 index 0000000..f6dd7f4 --- /dev/null +++ b/tools/h5import/testfiles/in64.txt @@ -0,0 +1,2 @@ +6.02E+24 +3.14159265E+00 diff --git a/tools/h5import/testfiles/test15.h5 b/tools/h5import/testfiles/test15.h5 Binary files differnew file mode 100644 index 0000000..14a9b3e --- /dev/null +++ b/tools/h5import/testfiles/test15.h5 diff --git a/tools/h5import/testfiles/textpfe.conf b/tools/h5import/testfiles/textpfe.conf new file mode 100644 index 0000000..69fd8c8 --- /dev/null +++ b/tools/h5import/testfiles/textpfe.conf @@ -0,0 +1,11 @@ +PATH /test +INPUT-CLASS TEXTFPE +INPUT-SIZE 64 +RANK 1 +DIMENSION-SIZES 2 +OUTPUT-CLASS FP +OUTPUT-SIZE 64 + + + + |