Added first three tests

This commit is contained in:
Vitalik Buterin 2013-12-30 21:09:40 -05:00
commit 2c81698f31
3 changed files with 85 additions and 0 deletions

26
hexencodetest.txt Normal file

@ -0,0 +1,26 @@
[
[
[ 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"
]
]

50
rlptest.txt Normal file

@ -0,0 +1,50 @@
[
[
"cat",
"43636174"
],
[
"dog",
"43646f67"
],
[
[ "cat", "dog" ],
"824363617443646f67"
],
[
1,
"01"
],
[
10,
"0a"
],
[
100,
"1864"
],
[
1000,
"1903e8"
],
[
115792089237316195423570985008687907853269984665640564039457584007913129639935,
"37ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
],
[
115792089237316195423570985008687907853269984665640564039457584007913129639936,
"38010000000000000000000000000000000000000000000000000000000000000000"
],
[
[ 1, 2, [] ],
"83010280"
],
[
[ [ [], [] ], [] ],
"8282808080"
],
[
[ "zw", [ 4 ], "wz" ],
"83427a77810442777a"
]
]

9
trietest.txt Normal file

@ -0,0 +1,9 @@
[
{
"do": "verb",
"horse": "stallion",
"doge": "coin",
"dog": "puppy"
},
"6529010d2a2f633bfe03e7a3a3503e5a5bccd1ca49989ac0fb195fd022c6cc93"
]