From e3c56c9eac03ffef7098779fc5a9943e73e4052b Mon Sep 17 00:00:00 2001 From: Mathis Rosenhauer Date: Thu, 18 Aug 2016 13:26:33 +0200 Subject: Ship test and benchmark data with dist --- tests/Makefile.am | 5 +++-- tests/benc.sh | 17 +++-------------- .../121B2TestData/AllOptions/test_p256n01-basic.rz | 1 + .../AllOptions/test_p256n01-restricted.rz | 1 + .../data/121B2TestData/AllOptions/test_p256n01.dat | Bin 0 -> 256 bytes .../121B2TestData/AllOptions/test_p256n02-basic.rz | 1 + .../AllOptions/test_p256n02-restricted.rz | 1 + .../data/121B2TestData/AllOptions/test_p256n02.dat | Bin 0 -> 256 bytes .../121B2TestData/AllOptions/test_p256n03-basic.rz | 1 + .../AllOptions/test_p256n03-restricted.rz | 1 + .../data/121B2TestData/AllOptions/test_p256n03.dat | Bin 0 -> 256 bytes .../121B2TestData/AllOptions/test_p256n04-basic.rz | Bin 0 -> 32 bytes .../AllOptions/test_p256n04-restricted.rz | Bin 0 -> 31 bytes .../data/121B2TestData/AllOptions/test_p256n04.dat | Bin 0 -> 256 bytes .../data/121B2TestData/AllOptions/test_p256n05.dat | Bin 0 -> 256 bytes tests/data/121B2TestData/AllOptions/test_p256n05.rz | Bin 0 -> 45 bytes .../data/121B2TestData/AllOptions/test_p256n06.dat | Bin 0 -> 256 bytes tests/data/121B2TestData/AllOptions/test_p256n06.rz | Bin 0 -> 61 bytes .../data/121B2TestData/AllOptions/test_p256n07.dat | Bin 0 -> 256 bytes tests/data/121B2TestData/AllOptions/test_p256n07.rz | Bin 0 -> 78 bytes .../data/121B2TestData/AllOptions/test_p256n08.dat | Bin 0 -> 256 bytes tests/data/121B2TestData/AllOptions/test_p256n08.rz | Bin 0 -> 98 bytes .../data/121B2TestData/AllOptions/test_p256n09.dat | Bin 0 -> 512 bytes tests/data/121B2TestData/AllOptions/test_p256n09.rz | Bin 0 -> 121 bytes .../data/121B2TestData/AllOptions/test_p256n10.dat | Bin 0 -> 512 bytes tests/data/121B2TestData/AllOptions/test_p256n10.rz | Bin 0 -> 144 bytes .../data/121B2TestData/AllOptions/test_p256n11.dat | Bin 0 -> 512 bytes tests/data/121B2TestData/AllOptions/test_p256n11.rz | Bin 0 -> 170 bytes .../data/121B2TestData/AllOptions/test_p256n12.dat | Bin 0 -> 512 bytes tests/data/121B2TestData/AllOptions/test_p256n12.rz | Bin 0 -> 197 bytes .../data/121B2TestData/AllOptions/test_p256n13.dat | Bin 0 -> 512 bytes tests/data/121B2TestData/AllOptions/test_p256n13.rz | Bin 0 -> 227 bytes .../data/121B2TestData/AllOptions/test_p256n14.dat | Bin 0 -> 512 bytes tests/data/121B2TestData/AllOptions/test_p256n14.rz | Bin 0 -> 258 bytes .../data/121B2TestData/AllOptions/test_p256n15.dat | Bin 0 -> 512 bytes tests/data/121B2TestData/AllOptions/test_p256n15.rz | Bin 0 -> 291 bytes .../data/121B2TestData/AllOptions/test_p256n16.dat | Bin 0 -> 512 bytes tests/data/121B2TestData/AllOptions/test_p256n16.rz | Bin 0 -> 324 bytes .../data/121B2TestData/AllOptions/test_p512n17.dat | Bin 0 -> 2048 bytes tests/data/121B2TestData/AllOptions/test_p512n17.rz | Bin 0 -> 368 bytes .../data/121B2TestData/AllOptions/test_p512n18.dat | Bin 0 -> 2048 bytes tests/data/121B2TestData/AllOptions/test_p512n18.rz | Bin 0 -> 408 bytes .../data/121B2TestData/AllOptions/test_p512n19.dat | Bin 0 -> 2048 bytes tests/data/121B2TestData/AllOptions/test_p512n19.rz | Bin 0 -> 449 bytes .../data/121B2TestData/AllOptions/test_p512n20.dat | Bin 0 -> 2048 bytes tests/data/121B2TestData/AllOptions/test_p512n20.rz | Bin 0 -> 493 bytes .../data/121B2TestData/AllOptions/test_p512n21.dat | Bin 0 -> 2048 bytes tests/data/121B2TestData/AllOptions/test_p512n21.rz | Bin 0 -> 539 bytes .../data/121B2TestData/AllOptions/test_p512n22.dat | Bin 0 -> 2048 bytes tests/data/121B2TestData/AllOptions/test_p512n22.rz | Bin 0 -> 587 bytes .../data/121B2TestData/AllOptions/test_p512n23.dat | Bin 0 -> 2048 bytes tests/data/121B2TestData/AllOptions/test_p512n23.rz | Bin 0 -> 636 bytes .../data/121B2TestData/AllOptions/test_p512n24.dat | Bin 0 -> 2048 bytes tests/data/121B2TestData/AllOptions/test_p512n24.rz | Bin 0 -> 688 bytes .../data/121B2TestData/AllOptions/test_p512n25.dat | Bin 0 -> 2048 bytes tests/data/121B2TestData/AllOptions/test_p512n25.rz | Bin 0 -> 742 bytes .../data/121B2TestData/AllOptions/test_p512n26.dat | Bin 0 -> 2048 bytes tests/data/121B2TestData/AllOptions/test_p512n26.rz | Bin 0 -> 798 bytes .../data/121B2TestData/AllOptions/test_p512n27.dat | Bin 0 -> 2048 bytes tests/data/121B2TestData/AllOptions/test_p512n27.rz | Bin 0 -> 855 bytes .../data/121B2TestData/AllOptions/test_p512n28.dat | Bin 0 -> 2048 bytes tests/data/121B2TestData/AllOptions/test_p512n28.rz | Bin 0 -> 915 bytes .../data/121B2TestData/AllOptions/test_p512n29.dat | Bin 0 -> 2048 bytes tests/data/121B2TestData/AllOptions/test_p512n29.rz | Bin 0 -> 977 bytes .../data/121B2TestData/AllOptions/test_p512n30.dat | Bin 0 -> 2048 bytes tests/data/121B2TestData/AllOptions/test_p512n30.rz | Bin 0 -> 1040 bytes .../data/121B2TestData/AllOptions/test_p512n31.dat | Bin 0 -> 2048 bytes tests/data/121B2TestData/AllOptions/test_p512n31.rz | Bin 0 -> 1105 bytes .../data/121B2TestData/AllOptions/test_p512n32.dat | Bin 0 -> 2048 bytes tests/data/121B2TestData/AllOptions/test_p512n32.rz | Bin 0 -> 1170 bytes .../121B2TestData/ExtendedParameters/sar32bit.dat | Bin 0 -> 1048576 bytes .../ExtendedParameters/sar32bit.j16.r256.rz | Bin 0 -> 863937 bytes .../ExtendedParameters/sar32bit.j64.r4096.rz | Bin 0 -> 858515 bytes .../LowEntropyOptions/Lowset1_8bit.dat | Bin 0 -> 432 bytes .../LowEntropyOptions/Lowset1_8bit.n01-basic.rz | Bin 0 -> 21 bytes .../Lowset1_8bit.n01-restricted.rz | Bin 0 -> 18 bytes .../LowEntropyOptions/Lowset1_8bit.n02-basic.rz | Bin 0 -> 33 bytes .../Lowset1_8bit.n02-restricted.rz | 1 + .../LowEntropyOptions/Lowset1_8bit.n03-basic.rz | Bin 0 -> 33 bytes .../Lowset1_8bit.n03-restricted.rz | 1 + .../LowEntropyOptions/Lowset1_8bit.n04-basic.rz | Bin 0 -> 33 bytes .../Lowset1_8bit.n04-restricted.rz | 1 + .../LowEntropyOptions/Lowset1_8bit.n05.rz | Bin 0 -> 33 bytes .../LowEntropyOptions/Lowset1_8bit.n06.rz | Bin 0 -> 33 bytes .../LowEntropyOptions/Lowset1_8bit.n07.rz | Bin 0 -> 33 bytes .../LowEntropyOptions/Lowset1_8bit.n08.rz | Bin 0 -> 34 bytes .../LowEntropyOptions/Lowset2_8bit.dat | Bin 0 -> 1024 bytes .../LowEntropyOptions/Lowset2_8bit.n01-basic.rz | Bin 0 -> 11 bytes .../Lowset2_8bit.n01-restricted.rz | Bin 0 -> 11 bytes .../LowEntropyOptions/Lowset2_8bit.n02-basic.rz | Bin 0 -> 14 bytes .../Lowset2_8bit.n02-restricted.rz | Bin 0 -> 13 bytes .../LowEntropyOptions/Lowset2_8bit.n03-basic.rz | Bin 0 -> 14 bytes .../Lowset2_8bit.n03-restricted.rz | Bin 0 -> 13 bytes .../LowEntropyOptions/Lowset2_8bit.n04-basic.rz | Bin 0 -> 14 bytes .../Lowset2_8bit.n04-restricted.rz | Bin 0 -> 14 bytes .../LowEntropyOptions/Lowset2_8bit.n05.rz | Bin 0 -> 14 bytes .../LowEntropyOptions/Lowset2_8bit.n06.rz | Bin 0 -> 14 bytes .../LowEntropyOptions/Lowset2_8bit.n07.rz | Bin 0 -> 14 bytes .../LowEntropyOptions/Lowset2_8bit.n08.rz | Bin 0 -> 14 bytes .../LowEntropyOptions/Lowset3_8bit.dat | Bin 0 -> 2048 bytes .../LowEntropyOptions/Lowset3_8bit.n01-basic.rz | Bin 0 -> 8 bytes .../Lowset3_8bit.n01-restricted.rz | 1 + .../LowEntropyOptions/Lowset3_8bit.n02-basic.rz | Bin 0 -> 12 bytes .../Lowset3_8bit.n02-restricted.rz | 1 + .../LowEntropyOptions/Lowset3_8bit.n03-basic.rz | Bin 0 -> 12 bytes .../Lowset3_8bit.n03-restricted.rz | 1 + .../LowEntropyOptions/Lowset3_8bit.n04-basic.rz | Bin 0 -> 12 bytes .../Lowset3_8bit.n04-restricted.rz | Bin 0 -> 12 bytes .../LowEntropyOptions/Lowset3_8bit.n05.rz | 1 + .../LowEntropyOptions/Lowset3_8bit.n06.rz | Bin 0 -> 13 bytes .../LowEntropyOptions/Lowset3_8bit.n07.rz | Bin 0 -> 13 bytes .../LowEntropyOptions/Lowset3_8bit.n08.rz | Bin 0 -> 13 bytes tests/data/121B2TestData/README121BTest.docx | Bin 0 -> 20313 bytes tests/data/typical.rz | Bin 0 -> 737024 bytes tests/sampledata.sh | 20 +------------------- tests/szcomp.sh | 2 +- 116 files changed, 21 insertions(+), 36 deletions(-) create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n01-basic.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n01-restricted.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n01.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n02-basic.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n02-restricted.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n02.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n03-basic.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n03-restricted.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n03.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n04-basic.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n04-restricted.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n04.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n05.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n05.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n06.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n06.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n07.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n07.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n08.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n08.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n09.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n09.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n10.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n10.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n11.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n11.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n12.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n12.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n13.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n13.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n14.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n14.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n15.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n15.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n16.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p256n16.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n17.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n17.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n18.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n18.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n19.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n19.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n20.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n20.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n21.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n21.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n22.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n22.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n23.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n23.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n24.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n24.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n25.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n25.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n26.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n26.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n27.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n27.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n28.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n28.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n29.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n29.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n30.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n30.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n31.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n31.rz create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n32.dat create mode 100644 tests/data/121B2TestData/AllOptions/test_p512n32.rz create mode 100644 tests/data/121B2TestData/ExtendedParameters/sar32bit.dat create mode 100644 tests/data/121B2TestData/ExtendedParameters/sar32bit.j16.r256.rz create mode 100644 tests/data/121B2TestData/ExtendedParameters/sar32bit.j64.r4096.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.dat create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n01-basic.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n01-restricted.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n02-basic.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n02-restricted.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n03-basic.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n03-restricted.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n04-basic.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n04-restricted.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n05.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n06.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n07.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n08.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.dat create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n01-basic.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n01-restricted.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n02-basic.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n02-restricted.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n03-basic.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n03-restricted.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n04-basic.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n04-restricted.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n05.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n06.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n07.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n08.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.dat create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n01-basic.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n01-restricted.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n02-basic.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n02-restricted.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n03-basic.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n03-restricted.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n04-basic.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n04-restricted.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n05.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n06.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n07.rz create mode 100644 tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n08.rz create mode 100644 tests/data/121B2TestData/README121BTest.docx create mode 100644 tests/data/typical.rz (limited to 'tests') diff --git a/tests/Makefile.am b/tests/Makefile.am index 3cbc887..ea4285e 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -22,11 +22,12 @@ check_szcomp_SOURCES = check_szcomp.c $(top_builddir)/src/szlib.h LDADD = libcheck_aec.la $(top_builddir)/src/libaec.la check_szcomp_LDADD = $(top_builddir)/src/libsz.la -EXTRA_DIST = sampledata.sh szcomp.sh benc.sh bdec.sh CMakeLists.txt +EXTRA_DIST = sampledata.sh szcomp.sh benc.sh bdec.sh CMakeLists.txt data + szcomp.log: sampledata.log bench: benc bdec benc: - $(srcdir)/benc.sh + $(srcdir)/benc.sh $(srcdir)/data/typical.rz bdec: $(srcdir)/bdec.sh .PHONY: bench benc bdec diff --git a/tests/benc.sh b/tests/benc.sh index dac0617..a8f6dc2 100755 --- a/tests/benc.sh +++ b/tests/benc.sh @@ -1,21 +1,10 @@ #!/bin/sh set -e +TEST_DATA=$1 AEC=../src/aec -test_data=https://gitlab.dkrz.de/k202009/libaec/raw/master/data/typical.rz -if [ ! -f typical.dat ]; then - rm -f typical.rz - type curl >/dev/null 2>&1 || { - echo >&2 "curl not found. Please download $test_data by other means and place it in tests. Aborting." - exit 1 - } - curl $test_data -O || { - echo >&2 "Could not download $test_data. Please download it by other means and place it in tests. Aborting." - exit 1 - } - $AEC -d -n16 -j64 -r256 -m typical.rz typical.dat - rm -f bench.dat -fi if [ ! -f bench.dat ]; then + rm -f typical.dat + $AEC -d -n16 -j64 -r256 -m $TEST_DATA typical.dat for i in $(seq 0 499); do cat typical.dat >> bench.dat diff --git a/tests/data/121B2TestData/AllOptions/test_p256n01-basic.rz b/tests/data/121B2TestData/AllOptions/test_p256n01-basic.rz new file mode 100644 index 0000000..855bd93 --- /dev/null +++ b/tests/data/121B2TestData/AllOptions/test_p256n01-basic.rz @@ -0,0 +1 @@ +B" \ No newline at end of file diff --git a/tests/data/121B2TestData/AllOptions/test_p256n01-restricted.rz b/tests/data/121B2TestData/AllOptions/test_p256n01-restricted.rz new file mode 100644 index 0000000..63d03bd --- /dev/null +++ b/tests/data/121B2TestData/AllOptions/test_p256n01-restricted.rz @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/tests/data/121B2TestData/AllOptions/test_p256n01.dat b/tests/data/121B2TestData/AllOptions/test_p256n01.dat new file mode 100644 index 0000000..a08897e Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n01.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n02-basic.rz b/tests/data/121B2TestData/AllOptions/test_p256n02-basic.rz new file mode 100644 index 0000000..ce2dc07 --- /dev/null +++ b/tests/data/121B2TestData/AllOptions/test_p256n02-basic.rz @@ -0,0 +1 @@ +KhVb@ \ No newline at end of file diff --git a/tests/data/121B2TestData/AllOptions/test_p256n02-restricted.rz b/tests/data/121B2TestData/AllOptions/test_p256n02-restricted.rz new file mode 100644 index 0000000..cd4cd41 --- /dev/null +++ b/tests/data/121B2TestData/AllOptions/test_p256n02-restricted.rz @@ -0,0 +1 @@ +-QE \ No newline at end of file diff --git a/tests/data/121B2TestData/AllOptions/test_p256n02.dat b/tests/data/121B2TestData/AllOptions/test_p256n02.dat new file mode 100644 index 0000000..e00e624 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n02.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n03-basic.rz b/tests/data/121B2TestData/AllOptions/test_p256n03-basic.rz new file mode 100644 index 0000000..44ca0b0 --- /dev/null +++ b/tests/data/121B2TestData/AllOptions/test_p256n03-basic.rz @@ -0,0 +1 @@ +O,V|FͶ \ No newline at end of file diff --git a/tests/data/121B2TestData/AllOptions/test_p256n03-restricted.rz b/tests/data/121B2TestData/AllOptions/test_p256n03-restricted.rz new file mode 100644 index 0000000..e7a4065 --- /dev/null +++ b/tests/data/121B2TestData/AllOptions/test_p256n03-restricted.rz @@ -0,0 +1 @@ +ޞYZֵY6fm \ No newline at end of file diff --git a/tests/data/121B2TestData/AllOptions/test_p256n03.dat b/tests/data/121B2TestData/AllOptions/test_p256n03.dat new file mode 100644 index 0000000..1456bff Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n03.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n04-basic.rz b/tests/data/121B2TestData/AllOptions/test_p256n04-basic.rz new file mode 100644 index 0000000..7ac3f85 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n04-basic.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n04-restricted.rz b/tests/data/121B2TestData/AllOptions/test_p256n04-restricted.rz new file mode 100644 index 0000000..4be8b50 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n04-restricted.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n04.dat b/tests/data/121B2TestData/AllOptions/test_p256n04.dat new file mode 100644 index 0000000..ce98d2a Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n04.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n05.dat b/tests/data/121B2TestData/AllOptions/test_p256n05.dat new file mode 100644 index 0000000..0b85148 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n05.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n05.rz b/tests/data/121B2TestData/AllOptions/test_p256n05.rz new file mode 100644 index 0000000..e156dee Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n05.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n06.dat b/tests/data/121B2TestData/AllOptions/test_p256n06.dat new file mode 100644 index 0000000..77d40e3 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n06.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n06.rz b/tests/data/121B2TestData/AllOptions/test_p256n06.rz new file mode 100644 index 0000000..2d74fc9 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n06.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n07.dat b/tests/data/121B2TestData/AllOptions/test_p256n07.dat new file mode 100644 index 0000000..1d9983f Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n07.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n07.rz b/tests/data/121B2TestData/AllOptions/test_p256n07.rz new file mode 100644 index 0000000..a6b8109 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n07.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n08.dat b/tests/data/121B2TestData/AllOptions/test_p256n08.dat new file mode 100644 index 0000000..bd84e08 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n08.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n08.rz b/tests/data/121B2TestData/AllOptions/test_p256n08.rz new file mode 100644 index 0000000..5787983 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n08.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n09.dat b/tests/data/121B2TestData/AllOptions/test_p256n09.dat new file mode 100644 index 0000000..fcdd32b Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n09.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n09.rz b/tests/data/121B2TestData/AllOptions/test_p256n09.rz new file mode 100644 index 0000000..4cd81b4 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n09.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n10.dat b/tests/data/121B2TestData/AllOptions/test_p256n10.dat new file mode 100644 index 0000000..cbe0d3d Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n10.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n10.rz b/tests/data/121B2TestData/AllOptions/test_p256n10.rz new file mode 100644 index 0000000..5b2ac0b Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n10.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n11.dat b/tests/data/121B2TestData/AllOptions/test_p256n11.dat new file mode 100644 index 0000000..8edf225 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n11.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n11.rz b/tests/data/121B2TestData/AllOptions/test_p256n11.rz new file mode 100644 index 0000000..7b2cca6 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n11.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n12.dat b/tests/data/121B2TestData/AllOptions/test_p256n12.dat new file mode 100644 index 0000000..6e795f8 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n12.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n12.rz b/tests/data/121B2TestData/AllOptions/test_p256n12.rz new file mode 100644 index 0000000..71e5ecf Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n12.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n13.dat b/tests/data/121B2TestData/AllOptions/test_p256n13.dat new file mode 100644 index 0000000..60b600b Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n13.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n13.rz b/tests/data/121B2TestData/AllOptions/test_p256n13.rz new file mode 100644 index 0000000..a9c83aa Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n13.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n14.dat b/tests/data/121B2TestData/AllOptions/test_p256n14.dat new file mode 100644 index 0000000..360d261 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n14.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n14.rz b/tests/data/121B2TestData/AllOptions/test_p256n14.rz new file mode 100644 index 0000000..4fff9d9 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n14.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n15.dat b/tests/data/121B2TestData/AllOptions/test_p256n15.dat new file mode 100644 index 0000000..ff09478 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n15.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n15.rz b/tests/data/121B2TestData/AllOptions/test_p256n15.rz new file mode 100644 index 0000000..3831fb4 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n15.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n16.dat b/tests/data/121B2TestData/AllOptions/test_p256n16.dat new file mode 100644 index 0000000..8b0d65f Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n16.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p256n16.rz b/tests/data/121B2TestData/AllOptions/test_p256n16.rz new file mode 100644 index 0000000..3de1ae3 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p256n16.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n17.dat b/tests/data/121B2TestData/AllOptions/test_p512n17.dat new file mode 100644 index 0000000..a03afd8 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n17.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n17.rz b/tests/data/121B2TestData/AllOptions/test_p512n17.rz new file mode 100644 index 0000000..6826fd8 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n17.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n18.dat b/tests/data/121B2TestData/AllOptions/test_p512n18.dat new file mode 100644 index 0000000..346427b Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n18.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n18.rz b/tests/data/121B2TestData/AllOptions/test_p512n18.rz new file mode 100644 index 0000000..6a6b98a Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n18.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n19.dat b/tests/data/121B2TestData/AllOptions/test_p512n19.dat new file mode 100644 index 0000000..2f3ddcd Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n19.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n19.rz b/tests/data/121B2TestData/AllOptions/test_p512n19.rz new file mode 100644 index 0000000..439eb87 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n19.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n20.dat b/tests/data/121B2TestData/AllOptions/test_p512n20.dat new file mode 100644 index 0000000..9d90fe2 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n20.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n20.rz b/tests/data/121B2TestData/AllOptions/test_p512n20.rz new file mode 100644 index 0000000..06d24cf Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n20.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n21.dat b/tests/data/121B2TestData/AllOptions/test_p512n21.dat new file mode 100644 index 0000000..fbbe0a2 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n21.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n21.rz b/tests/data/121B2TestData/AllOptions/test_p512n21.rz new file mode 100644 index 0000000..e485722 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n21.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n22.dat b/tests/data/121B2TestData/AllOptions/test_p512n22.dat new file mode 100644 index 0000000..9bdffd9 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n22.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n22.rz b/tests/data/121B2TestData/AllOptions/test_p512n22.rz new file mode 100644 index 0000000..72d7689 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n22.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n23.dat b/tests/data/121B2TestData/AllOptions/test_p512n23.dat new file mode 100644 index 0000000..5c6711f Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n23.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n23.rz b/tests/data/121B2TestData/AllOptions/test_p512n23.rz new file mode 100644 index 0000000..1b914ef Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n23.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n24.dat b/tests/data/121B2TestData/AllOptions/test_p512n24.dat new file mode 100644 index 0000000..dc5490b Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n24.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n24.rz b/tests/data/121B2TestData/AllOptions/test_p512n24.rz new file mode 100644 index 0000000..dce838b Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n24.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n25.dat b/tests/data/121B2TestData/AllOptions/test_p512n25.dat new file mode 100644 index 0000000..e0e2857 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n25.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n25.rz b/tests/data/121B2TestData/AllOptions/test_p512n25.rz new file mode 100644 index 0000000..5b34c9c Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n25.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n26.dat b/tests/data/121B2TestData/AllOptions/test_p512n26.dat new file mode 100644 index 0000000..d96f7c7 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n26.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n26.rz b/tests/data/121B2TestData/AllOptions/test_p512n26.rz new file mode 100644 index 0000000..49ab8cc Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n26.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n27.dat b/tests/data/121B2TestData/AllOptions/test_p512n27.dat new file mode 100644 index 0000000..13c6a21 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n27.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n27.rz b/tests/data/121B2TestData/AllOptions/test_p512n27.rz new file mode 100644 index 0000000..bab17a3 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n27.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n28.dat b/tests/data/121B2TestData/AllOptions/test_p512n28.dat new file mode 100644 index 0000000..28d347f Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n28.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n28.rz b/tests/data/121B2TestData/AllOptions/test_p512n28.rz new file mode 100644 index 0000000..fecf151 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n28.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n29.dat b/tests/data/121B2TestData/AllOptions/test_p512n29.dat new file mode 100644 index 0000000..ecea3a6 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n29.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n29.rz b/tests/data/121B2TestData/AllOptions/test_p512n29.rz new file mode 100644 index 0000000..005552e Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n29.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n30.dat b/tests/data/121B2TestData/AllOptions/test_p512n30.dat new file mode 100644 index 0000000..bd7301e Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n30.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n30.rz b/tests/data/121B2TestData/AllOptions/test_p512n30.rz new file mode 100644 index 0000000..e29118d Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n30.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n31.dat b/tests/data/121B2TestData/AllOptions/test_p512n31.dat new file mode 100644 index 0000000..9c37006 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n31.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n31.rz b/tests/data/121B2TestData/AllOptions/test_p512n31.rz new file mode 100644 index 0000000..d77cbef Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n31.rz differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n32.dat b/tests/data/121B2TestData/AllOptions/test_p512n32.dat new file mode 100644 index 0000000..b84bbff Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n32.dat differ diff --git a/tests/data/121B2TestData/AllOptions/test_p512n32.rz b/tests/data/121B2TestData/AllOptions/test_p512n32.rz new file mode 100644 index 0000000..b1397b7 Binary files /dev/null and b/tests/data/121B2TestData/AllOptions/test_p512n32.rz differ diff --git a/tests/data/121B2TestData/ExtendedParameters/sar32bit.dat b/tests/data/121B2TestData/ExtendedParameters/sar32bit.dat new file mode 100644 index 0000000..ddf74d0 Binary files /dev/null and b/tests/data/121B2TestData/ExtendedParameters/sar32bit.dat differ diff --git a/tests/data/121B2TestData/ExtendedParameters/sar32bit.j16.r256.rz b/tests/data/121B2TestData/ExtendedParameters/sar32bit.j16.r256.rz new file mode 100644 index 0000000..b89659d Binary files /dev/null and b/tests/data/121B2TestData/ExtendedParameters/sar32bit.j16.r256.rz differ diff --git a/tests/data/121B2TestData/ExtendedParameters/sar32bit.j64.r4096.rz b/tests/data/121B2TestData/ExtendedParameters/sar32bit.j64.r4096.rz new file mode 100644 index 0000000..0c4ab28 Binary files /dev/null and b/tests/data/121B2TestData/ExtendedParameters/sar32bit.j64.r4096.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.dat b/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.dat new file mode 100644 index 0000000..22ea0f3 Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.dat differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n01-basic.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n01-basic.rz new file mode 100644 index 0000000..c3ba347 Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n01-basic.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n01-restricted.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n01-restricted.rz new file mode 100644 index 0000000..94751e8 Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n01-restricted.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n02-basic.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n02-basic.rz new file mode 100644 index 0000000..f5764e0 Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n02-basic.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n02-restricted.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n02-restricted.rz new file mode 100644 index 0000000..3736d43 --- /dev/null +++ b/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n02-restricted.rz @@ -0,0 +1 @@ + UUUTjUUUUj \ No newline at end of file diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n03-basic.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n03-basic.rz new file mode 100644 index 0000000..03ffd5c Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n03-basic.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n03-restricted.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n03-restricted.rz new file mode 100644 index 0000000..af535f2 --- /dev/null +++ b/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n03-restricted.rz @@ -0,0 +1 @@ +UUUUUUUUUUUUPUUUU \ No newline at end of file diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n04-basic.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n04-basic.rz new file mode 100644 index 0000000..a024ee3 Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n04-basic.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n04-restricted.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n04-restricted.rz new file mode 100644 index 0000000..e4ca921 --- /dev/null +++ b/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n04-restricted.rz @@ -0,0 +1 @@ +UUUUBUUUU@* \ No newline at end of file diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n05.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n05.rz new file mode 100644 index 0000000..8bc886d Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n05.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n06.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n06.rz new file mode 100644 index 0000000..2238e0e Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n06.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n07.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n07.rz new file mode 100644 index 0000000..0a452d9 Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n07.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n08.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n08.rz new file mode 100644 index 0000000..82c483b Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset1_8bit.n08.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.dat b/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.dat new file mode 100644 index 0000000..141f545 Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.dat differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n01-basic.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n01-basic.rz new file mode 100644 index 0000000..cde6ee4 Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n01-basic.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n01-restricted.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n01-restricted.rz new file mode 100644 index 0000000..05a3432 Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n01-restricted.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n02-basic.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n02-basic.rz new file mode 100644 index 0000000..e0cc84d Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n02-basic.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n02-restricted.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n02-restricted.rz new file mode 100644 index 0000000..1cccf0a Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n02-restricted.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n03-basic.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n03-basic.rz new file mode 100644 index 0000000..05f40f7 Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n03-basic.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n03-restricted.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n03-restricted.rz new file mode 100644 index 0000000..fd94714 Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n03-restricted.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n04-basic.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n04-basic.rz new file mode 100644 index 0000000..899a8c9 Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n04-basic.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n04-restricted.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n04-restricted.rz new file mode 100644 index 0000000..519d82a Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n04-restricted.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n05.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n05.rz new file mode 100644 index 0000000..774d180 Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n05.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n06.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n06.rz new file mode 100644 index 0000000..b900f28 Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n06.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n07.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n07.rz new file mode 100644 index 0000000..f5c3cea Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n07.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n08.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n08.rz new file mode 100644 index 0000000..34f0ec0 Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset2_8bit.n08.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.dat b/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.dat new file mode 100644 index 0000000..37f69d2 Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.dat differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n01-basic.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n01-basic.rz new file mode 100644 index 0000000..2262aca Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n01-basic.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n01-restricted.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n01-restricted.rz new file mode 100644 index 0000000..dabae82 --- /dev/null +++ b/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n01-restricted.rz @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n02-basic.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n02-basic.rz new file mode 100644 index 0000000..43f03ee Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n02-basic.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n02-restricted.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n02-restricted.rz new file mode 100644 index 0000000..42fead7 --- /dev/null +++ b/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n02-restricted.rz @@ -0,0 +1 @@ +UUU@@ \ No newline at end of file diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n03-basic.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n03-basic.rz new file mode 100644 index 0000000..baf899d Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n03-basic.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n03-restricted.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n03-restricted.rz new file mode 100644 index 0000000..4210bb6 --- /dev/null +++ b/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n03-restricted.rz @@ -0,0 +1 @@ +J \ No newline at end of file diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n04-basic.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n04-basic.rz new file mode 100644 index 0000000..488b09e Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n04-basic.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n04-restricted.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n04-restricted.rz new file mode 100644 index 0000000..d99a350 Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n04-restricted.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n05.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n05.rz new file mode 100644 index 0000000..2e8d74f --- /dev/null +++ b/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n05.rz @@ -0,0 +1 @@ +!UUUT@ \ No newline at end of file diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n06.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n06.rz new file mode 100644 index 0000000..0302613 Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n06.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n07.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n07.rz new file mode 100644 index 0000000..d56b761 Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n07.rz differ diff --git a/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n08.rz b/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n08.rz new file mode 100644 index 0000000..81125dd Binary files /dev/null and b/tests/data/121B2TestData/LowEntropyOptions/Lowset3_8bit.n08.rz differ diff --git a/tests/data/121B2TestData/README121BTest.docx b/tests/data/121B2TestData/README121BTest.docx new file mode 100644 index 0000000..72f8034 Binary files /dev/null and b/tests/data/121B2TestData/README121BTest.docx differ diff --git a/tests/data/typical.rz b/tests/data/typical.rz new file mode 100644 index 0000000..fc1e827 Binary files /dev/null and b/tests/data/typical.rz differ diff --git a/tests/sampledata.sh b/tests/sampledata.sh index 9296dab..12649a4 100755 --- a/tests/sampledata.sh +++ b/tests/sampledata.sh @@ -1,27 +1,10 @@ #!/bin/sh set -e AEC=../src/aec -CCSDS_DATA=121B2TestData +CCSDS_DATA=${srcdir}/data/121B2TestData ALLO=${CCSDS_DATA}/AllOptions EXTP=${CCSDS_DATA}/ExtendedParameters LOWE=${CCSDS_DATA}/LowEntropyOptions -archive=121B2TestData.zip -archive_url=http://cwe.ccsds.org/sls/docs/SLS-DC/BB121B2TestData/$archive -if [ ! -f $archive ]; then - type curl >/dev/null 2>&1 || { - echo >&2 "curl not found. Please download $archive_url by other means and place it in tests.\nAborting." - exit 1 - } - curl $archive_url -O || { - echo >&2 "Could not download $archive_url. Please download $archive by other means and place it in tests. Aborting." - exit 1 - } -fi -type unzip >/dev/null 2>&1 || { - echo >&2 "unzip not found. Please install unzip or unpack $archive in tests.\nAborting." - exit 1 -} -unzip -oq $archive filesize () { wc -c $1 | awk '{print $1}' @@ -56,7 +39,6 @@ cosdec () { } echo All Options -mv -f ${ALLO}/test_P512n22.dat ${ALLO}/test_p512n22.dat for i in 01 02 03 04 do uf=$ALLO/test_p256n${i}.dat diff --git a/tests/szcomp.sh b/tests/szcomp.sh index 6335835..e9a3095 100755 --- a/tests/szcomp.sh +++ b/tests/szcomp.sh @@ -1,6 +1,6 @@ #!/bin/sh set -e -testfile=121B2TestData/ExtendedParameters/sar32bit.dat +testfile=${srcdir}/data/121B2TestData/ExtendedParameters/sar32bit.dat if [ ! -f $testfile ]; then echo "ERROR: sample data not found." exit -1 -- cgit v1.2.3