aboutsummaryrefslogtreecommitdiffstats
path: root/hexencodetest.json
diff options
context:
space:
mode:
Diffstat (limited to 'hexencodetest.json')
-rw-r--r--hexencodetest.json92
1 files changed, 60 insertions, 32 deletions
diff --git a/hexencodetest.json b/hexencodetest.json
index 6fe7891c3..26c5bc7ed 100644
--- a/hexencodetest.json
+++ b/hexencodetest.json
@@ -1,34 +1,62 @@
{
- "nz,odd": {
- "seq": [ 1, 2, 3, 4, 5 ],
- "return": "112345"
- },
- "z,even": {
- "seq": [ 0, 1, 2, 3, 4, 5 ],
- "return": "00012345"
- },
- "long": {
- "seq": [ 6, 4, 6, 15, 6, 7, 6, 5, 16 ],
- "return": "20646f6765"
- },
- "short": {
- "seq": [ 7, 6, 5, 16 ],
- "return": "3765"
- },
- "nz,one": {
- "seq": [ 16 ],
- "return": "20"
- },
- "z,two": {
- "seq": [ 0, 16 ],
- "return": "30"
- },
- "nz,even": {
- "seq": [ 15, 1, 12, 11, 8, 16 ],
- "return": "3f1cb8"
- },
- "z,odd": {
- "seq": [ 0, 15, 1, 12, 11, 8, 16 ],
- "return": "200f1cb8"
- }
+ "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"
+ }
}