aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files/hexencodetest.json
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-19 05:31:10 +0800
committerobscuren <geffobscura@gmail.com>2014-10-19 05:31:10 +0800
commit33ca8d7b8f3d4db4b01890e39fa806766fbe8f84 (patch)
tree13fddb14b28e5cf5fe89a16721f22a1eeb850658 /tests/files/hexencodetest.json
parent3ad1daa70d09e0fc32347029b98166a51e9078c4 (diff)
downloadgo-tangerine-33ca8d7b8f3d4db4b01890e39fa806766fbe8f84.tar
go-tangerine-33ca8d7b8f3d4db4b01890e39fa806766fbe8f84.tar.gz
go-tangerine-33ca8d7b8f3d4db4b01890e39fa806766fbe8f84.tar.bz2
go-tangerine-33ca8d7b8f3d4db4b01890e39fa806766fbe8f84.tar.lz
go-tangerine-33ca8d7b8f3d4db4b01890e39fa806766fbe8f84.tar.xz
go-tangerine-33ca8d7b8f3d4db4b01890e39fa806766fbe8f84.tar.zst
go-tangerine-33ca8d7b8f3d4db4b01890e39fa806766fbe8f84.zip
moved
Diffstat (limited to 'tests/files/hexencodetest.json')
-rw-r--r--tests/files/hexencodetest.json62
1 files changed, 62 insertions, 0 deletions
diff --git a/tests/files/hexencodetest.json b/tests/files/hexencodetest.json
new file mode 100644
index 000000000..26c5bc7ed
--- /dev/null
+++ b/tests/files/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"
+ }
+}