forked from cerc-io/plugeth
Moved over to new format, but RLP tests still need updating.
This commit is contained in:
parent
660cd26f31
commit
a0ec843832
@ -1,34 +1,34 @@
|
|||||||
[
|
{
|
||||||
[
|
"nz,odd": {
|
||||||
[ 1, 2, 3, 4, 5 ],
|
"seq": [ 1, 2, 3, 4, 5 ],
|
||||||
"112345"
|
"return": "112345"
|
||||||
],
|
},
|
||||||
[
|
"z,even": {
|
||||||
[ 0, 1, 2, 3, 4, 5 ],
|
"seq": [ 0, 1, 2, 3, 4, 5 ],
|
||||||
"00012345"
|
"return": "00012345"
|
||||||
],
|
},
|
||||||
[
|
"long": {
|
||||||
[ 6, 4, 6, 15, 6, 7, 6, 5, 16 ],
|
"seq": [ 6, 4, 6, 15, 6, 7, 6, 5, 16 ],
|
||||||
"20646f6765"
|
"return": "20646f6765"
|
||||||
],
|
},
|
||||||
[
|
"short": {
|
||||||
[ 7, 6, 5, 16 ],
|
"seq": [ 7, 6, 5, 16 ],
|
||||||
"3765"
|
"return": "3765"
|
||||||
],
|
},
|
||||||
[
|
"nz,one": {
|
||||||
[ 16 ],
|
"seq": [ 16 ],
|
||||||
"20"
|
"return": "20"
|
||||||
],
|
},
|
||||||
[
|
"z,two": {
|
||||||
[ 0, 16 ],
|
"seq": [ 0, 16 ],
|
||||||
"30"
|
"return": "30"
|
||||||
],
|
},
|
||||||
[
|
"nz,even": {
|
||||||
[ 15, 1, 12, 11, 8, 16 ],
|
"seq": [ 15, 1, 12, 11, 8, 16 ],
|
||||||
"3f1cb8"
|
"return": "3f1cb8"
|
||||||
],
|
},
|
||||||
[
|
"z,odd": {
|
||||||
[ 0, 15, 1, 12, 11, 8, 16 ],
|
"seq": [ 0, 15, 1, 12, 11, 8, 16 ],
|
||||||
"200f1cb8"
|
"return": "200f1cb8"
|
||||||
]
|
}
|
||||||
]
|
}
|
||||||
|
100
rlptest.json
100
rlptest.json
@ -1,54 +1,46 @@
|
|||||||
[
|
{
|
||||||
[
|
"emptystring": {
|
||||||
"cat",
|
"in": "",
|
||||||
"43636174"
|
"out": "00"
|
||||||
],
|
},
|
||||||
[
|
"shortstring": {
|
||||||
"dog",
|
"in": "dog",
|
||||||
"43646f67"
|
"out": "43646f67"
|
||||||
],
|
},
|
||||||
[
|
"longstring": {
|
||||||
[ "cat", "dog" ],
|
"in": "Lorem ipsum dolor sit amet, consectetur adipisicing elit",
|
||||||
"824363617443646f67"
|
"out": "TODO"
|
||||||
],
|
},
|
||||||
[
|
"zero": {
|
||||||
[ "dog", "god", "cat" ],
|
"in": 0,
|
||||||
"8343646f6743676f6443636174"
|
"out": "80"
|
||||||
],
|
},
|
||||||
[
|
"smallint": {
|
||||||
1,
|
"in": 1,
|
||||||
"01"
|
"out": "01"
|
||||||
],
|
},
|
||||||
[
|
"mediumint": {
|
||||||
10,
|
"in": 1000,
|
||||||
"0a"
|
"out": "8203e8"
|
||||||
],
|
},
|
||||||
[
|
"bigint": {
|
||||||
100,
|
"in": 115792089237316195423570985008687907853269984665640564039457584007913129639936,
|
||||||
"1864"
|
"out": "3821010000000000000000000000000000000000000000000000000000000000000000"
|
||||||
],
|
},
|
||||||
[
|
"emptylist": {
|
||||||
1000,
|
"in": [],
|
||||||
"1903e8"
|
"out": "c0"
|
||||||
],
|
},
|
||||||
[
|
"stringlist": {
|
||||||
115792089237316195423570985008687907853269984665640564039457584007913129639935,
|
"in": [ "dog", "god", "cat" ],
|
||||||
"37ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
|
"out": "8343646f6743676f6443636174"
|
||||||
],
|
},
|
||||||
[
|
"multilist": {
|
||||||
115792089237316195423570985008687907853269984665640564039457584007913129639936,
|
"in": [ "zw", [ 4 ], 1 ],
|
||||||
"3821010000000000000000000000000000000000000000000000000000000000000000"
|
"out": "TODO"
|
||||||
],
|
},
|
||||||
[
|
"listsoflists": {
|
||||||
[ 1, 2, [] ],
|
"in": [ [ [], [] ], [] ],
|
||||||
"83010280"
|
"out": "c2c2c0c0c0"
|
||||||
],
|
}
|
||||||
[
|
}
|
||||||
[ [ [], [] ], [] ],
|
|
||||||
"8282808080"
|
|
||||||
],
|
|
||||||
[
|
|
||||||
[ "zw", [ 4 ], "wz" ],
|
|
||||||
"83427a77810442777a"
|
|
||||||
]
|
|
||||||
]
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[
|
|
||||||
{
|
{
|
||||||
|
"doprefix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"doe": "reindeer",
|
"doe": "reindeer",
|
||||||
"dog": "puppy",
|
"dog": "puppy",
|
||||||
@ -7,7 +7,7 @@
|
|||||||
},
|
},
|
||||||
"expectation": "d85f9267d7ed5767fb1b48defa8eb20a1c007a87a07588135a74b40b55de2e67"
|
"expectation": "d85f9267d7ed5767fb1b48defa8eb20a1c007a87a07588135a74b40b55de2e67"
|
||||||
},
|
},
|
||||||
{
|
"multiprefix": {
|
||||||
"inputs":{
|
"inputs":{
|
||||||
"do": "verb",
|
"do": "verb",
|
||||||
"horse": "stallion",
|
"horse": "stallion",
|
||||||
@ -16,4 +16,4 @@
|
|||||||
},
|
},
|
||||||
"expectation": "cf7d318935b52db6e23d8c1f5e6b7e62f3606d4ed13783f4fdbd6e67a2085d04"
|
"expectation": "cf7d318935b52db6e23d8c1f5e6b7e62f3606d4ed13783f4fdbd6e67a2085d04"
|
||||||
}
|
}
|
||||||
]
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user