summaryrefslogtreecommitdiff
path: root/src/tests/compression/test62.h
diff options
context:
space:
mode:
authorDaniel Spangberg <daniels@kemi.uu.se>2013-05-17 16:54:01 (GMT)
committerDaniel Spangberg <daniels@kemi.uu.se>2013-05-17 16:54:01 (GMT)
commitecf039adfd38ba1a95b94f1bdc22f01928cb81c5 (patch)
treeeb3ee60ed08cc65fe02b103e4bf9fe34750c63b1 /src/tests/compression/test62.h
parent6ae393dbe7ffda9c2340503c82d062cb8d7c6f41 (diff)
Added conversion from unpacked integers to float/double.
Added tests for recompression (uncompress to int, compress int) Added tests for conversion from unpacked integers to float/double.
Diffstat (limited to 'src/tests/compression/test62.h')
-rw-r--r--src/tests/compression/test62.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/tests/compression/test62.h b/src/tests/compression/test62.h
index 4b9e122..c8a2b48 100644
--- a/src/tests/compression/test62.h
+++ b/src/tests/compression/test62.h
@@ -4,23 +4,23 @@
#define ALGOTEST
#define NATOMS 1000
#define CHUNKY 100
-#define SCALE 0.01 /* Changed on purpose. */
+#define SCALE 0.1
#define PRECISION 0.01
#define WRITEVEL 1
#define VELPRECISION 0.1
-#define INITIALCODING -1
-#define INITIALCODINGPARAMETER -1
-#define CODING -1
-#define CODINGPARAMETER -1
-#define INITIALVELCODING -1
-#define INITIALVELCODINGPARAMETER -1
-#define VELCODING -1
-#define VELCODINGPARAMETER -1
+#define INITIALCODING 10
+#define INITIALCODINGPARAMETER 0
+#define CODING 10
+#define CODINGPARAMETER 0
+#define INITIALVELCODING 3
+#define INITIALVELCODINGPARAMETER 0
+#define VELCODING 8
+#define VELCODINGPARAMETER 0
#define INTMIN1 0
#define INTMIN2 0
#define INTMIN3 0
#define INTMAX1 10000
#define INTMAX2 10000
#define INTMAX3 10000
-#define NFRAMES 1000
-#define EXPECTED_FILESIZE 6986313.
+#define NFRAMES 100
+#define EXPECTED_FILESIZE 151226.
contact: Jan Huwald // Impressum