-
Notifications
You must be signed in to change notification settings - Fork 20.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved over to new format, but RLP tests still need updating.
- Loading branch information
Showing
3 changed files
with
84 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
[ | ||
[ | ||
[ 1, 2, 3, 4, 5 ], | ||
"112345" | ||
], | ||
[ | ||
[ 0, 1, 2, 3, 4, 5 ], | ||
"00012345" | ||
], | ||
[ | ||
[ 6, 4, 6, 15, 6, 7, 6, 5, 16 ], | ||
"20646f6765" | ||
], | ||
[ | ||
[ 7, 6, 5, 16 ], | ||
"3765" | ||
], | ||
[ | ||
[ 16 ], | ||
"20" | ||
], | ||
[ | ||
[ 0, 16 ], | ||
"30" | ||
], | ||
[ | ||
[ 15, 1, 12, 11, 8, 16 ], | ||
"3f1cb8" | ||
], | ||
[ | ||
[ 0, 15, 1, 12, 11, 8, 16 ], | ||
"200f1cb8" | ||
] | ||
] | ||
{ | ||
"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" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,46 @@ | ||
[ | ||
[ | ||
"cat", | ||
"43636174" | ||
], | ||
[ | ||
"dog", | ||
"43646f67" | ||
], | ||
[ | ||
[ "cat", "dog" ], | ||
"824363617443646f67" | ||
], | ||
[ | ||
[ "dog", "god", "cat" ], | ||
"8343646f6743676f6443636174" | ||
], | ||
[ | ||
1, | ||
"01" | ||
], | ||
[ | ||
10, | ||
"0a" | ||
], | ||
[ | ||
100, | ||
"1864" | ||
], | ||
[ | ||
1000, | ||
"1903e8" | ||
], | ||
[ | ||
115792089237316195423570985008687907853269984665640564039457584007913129639935, | ||
"37ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" | ||
], | ||
[ | ||
115792089237316195423570985008687907853269984665640564039457584007913129639936, | ||
"3821010000000000000000000000000000000000000000000000000000000000000000" | ||
], | ||
[ | ||
[ 1, 2, [] ], | ||
"83010280" | ||
], | ||
[ | ||
[ [ [], [] ], [] ], | ||
"8282808080" | ||
], | ||
[ | ||
[ "zw", [ 4 ], "wz" ], | ||
"83427a77810442777a" | ||
] | ||
] | ||
{ | ||
"emptystring": { | ||
"in": "", | ||
"out": "00" | ||
}, | ||
"shortstring": { | ||
"in": "dog", | ||
"out": "43646f67" | ||
}, | ||
"longstring": { | ||
"in": "Lorem ipsum dolor sit amet, consectetur adipisicing elit", | ||
"out": "TODO" | ||
}, | ||
"zero": { | ||
"in": 0, | ||
"out": "80" | ||
}, | ||
"smallint": { | ||
"in": 1, | ||
"out": "01" | ||
}, | ||
"mediumint": { | ||
"in": 1000, | ||
"out": "8203e8" | ||
}, | ||
"bigint": { | ||
"in": 115792089237316195423570985008687907853269984665640564039457584007913129639936, | ||
"out": "3821010000000000000000000000000000000000000000000000000000000000000000" | ||
}, | ||
"emptylist": { | ||
"in": [], | ||
"out": "c0" | ||
}, | ||
"stringlist": { | ||
"in": [ "dog", "god", "cat" ], | ||
"out": "8343646f6743676f6443636174" | ||
}, | ||
"multilist": { | ||
"in": [ "zw", [ 4 ], 1 ], | ||
"out": "TODO" | ||
}, | ||
"listsoflists": { | ||
"in": [ [ [], [] ], [] ], | ||
"out": "c2c2c0c0c0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters