aboutsummaryrefslogtreecommitdiffstats
path: root/BasicTests/hexencodetest.json
diff options
context:
space:
mode:
authorChristoph Jentzsch <jentzsch.software@gmail.com>2014-11-03 20:22:15 +0800
committerChristoph Jentzsch <jentzsch.software@gmail.com>2014-11-03 20:22:15 +0800
commit3930ca3a9a377107d5792b3e7202f79c688f1a67 (patch)
tree1f8944ce9c4964483539abe1ce2a40f5ec3e19be /BasicTests/hexencodetest.json
parent014d370b5d5d0a807cc31a2fc3a8c5313ccd7ea4 (diff)
downloaddexon-3930ca3a9a377107d5792b3e7202f79c688f1a67.tar.gz
dexon-3930ca3a9a377107d5792b3e7202f79c688f1a67.tar.zst
dexon-3930ca3a9a377107d5792b3e7202f79c688f1a67.zip
Restructered tests in folders in accordance to test suites
Diffstat (limited to 'BasicTests/hexencodetest.json')
-rw-r--r--BasicTests/hexencodetest.json62
1 files changed, 62 insertions, 0 deletions
diff --git a/BasicTests/hexencodetest.json b/BasicTests/hexencodetest.json
new file mode 100644
index 000000000..26c5bc7ed
--- /dev/null
+++ b/BasicTests/hexencodetest.json
@@ -0,0 +1,62 @@
+{
+ "zz,odd,open": {
+ "seq": [ 0, 0, 1, 2, 3, 4, 5 ],
+ "term": false,
+ "out": "10012345"
+ },
+ "z,even,open": {
+ "seq": [ 0, 1, 2, 3, 4, 5 ],
+ "term": false,
+ "out": "00012345"
+ },
+ "nz,odd,open": {
+ "seq": [ 1, 2, 3, 4, 5 ],
+ "term": false,
+ "out": "112345"
+ },
+ "zz,even,open": {
+ "seq": [ 0, 0, 1, 2, 3, 4 ],
+ "term": false,
+ "out": "00001234"
+ },
+ "z,odd,open": {
+ "seq": [ 0, 1, 2, 3, 4 ],
+ "term": false,
+ "out": "101234"
+ },
+ "nz,even,open": {
+ "seq": [ 1, 2, 3, 4 ],
+ "term": false,
+ "out": "001234"
+ },
+ "zz,odd,term": {
+ "seq": [ 0, 0, 1, 2, 3, 4, 5 ],
+ "term": true,
+ "out": "30012345"
+ },
+ "z,even,term": {
+ "seq": [ 0, 1, 2, 3, 4, 5 ],
+ "term": true,
+ "out": "20012345"
+ },
+ "nz,odd,term": {
+ "seq": [ 1, 2, 3, 4, 5 ],
+ "term": true,
+ "out": "312345"
+ },
+ "zz,even,term": {
+ "seq": [ 0, 0, 1, 2, 3, 4 ],
+ "term": true,
+ "out": "20001234"
+ },
+ "z,odd,term": {
+ "seq": [ 0, 1, 2, 3, 4 ],
+ "term": true,
+ "out": "301234"
+ },
+ "nz,even,term": {
+ "seq": [ 1, 2, 3, 4 ],
+ "term": true,
+ "out": "201234"
+ }
+}