aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files/BasicTests/hexencodetest.json
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-02 23:43:12 +0800
committerobscuren <geffobscura@gmail.com>2015-03-02 23:43:12 +0800
commit0823254c3bc2560f8e0dd6f19d05f471f8af94f4 (patch)
tree56188e6c00336c34971839a90ece54a576483606 /tests/files/BasicTests/hexencodetest.json
parent4f3f881c9be0b590e6e28fda295257e8d15d5f02 (diff)
parentce7204fa17560f6a76c7592bf5f23d29f22042d6 (diff)
downloadgo-tangerine-0823254c3bc2560f8e0dd6f19d05f471f8af94f4.tar
go-tangerine-0823254c3bc2560f8e0dd6f19d05f471f8af94f4.tar.gz
go-tangerine-0823254c3bc2560f8e0dd6f19d05f471f8af94f4.tar.bz2
go-tangerine-0823254c3bc2560f8e0dd6f19d05f471f8af94f4.tar.lz
go-tangerine-0823254c3bc2560f8e0dd6f19d05f471f8af94f4.tar.xz
go-tangerine-0823254c3bc2560f8e0dd6f19d05f471f8af94f4.tar.zst
go-tangerine-0823254c3bc2560f8e0dd6f19d05f471f8af94f4.zip
Add 'tests/files/' from commit 'ce7204fa17560f6a76c7592bf5f23d29f22042d6'
git-subtree-dir: tests/files git-subtree-mainline: 4f3f881c9be0b590e6e28fda295257e8d15d5f02 git-subtree-split: ce7204fa17560f6a76c7592bf5f23d29f22042d6
Diffstat (limited to 'tests/files/BasicTests/hexencodetest.json')
-rw-r--r--tests/files/BasicTests/hexencodetest.json62
1 files changed, 62 insertions, 0 deletions
diff --git a/tests/files/BasicTests/hexencodetest.json b/tests/files/BasicTests/hexencodetest.json
new file mode 100644
index 000000000..26c5bc7ed
--- /dev/null
+++ b/tests/files/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"
+ }
+}