Skip to content

Commit 2c81698

Browse files
committed
Added first three tests
0 parents  commit 2c81698

File tree

3 files changed

+85
-0
lines changed

3 files changed

+85
-0
lines changed

hexencodetest.txt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[
2+
[
3+
[ 1, 2, 3, 4, 5 ],
4+
"112345"
5+
],
6+
[
7+
[ 0, 1, 2, 3, 4, 5 ],
8+
"00012345"
9+
],
10+
[
11+
[ 6, 4, 6, 15, 6, 7, 6, 5, 16 ],
12+
"20646f6765"
13+
],
14+
[
15+
[ 7, 6, 5, 16 ],
16+
"3765"
17+
],
18+
[
19+
[ 16 ],
20+
"20"
21+
],
22+
[
23+
[ 0, 16 ],
24+
"30"
25+
]
26+
]

rlptest.txt

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
[
2+
[
3+
"cat",
4+
"43636174"
5+
],
6+
[
7+
"dog",
8+
"43646f67"
9+
],
10+
[
11+
[ "cat", "dog" ],
12+
"824363617443646f67"
13+
],
14+
[
15+
1,
16+
"01"
17+
],
18+
[
19+
10,
20+
"0a"
21+
],
22+
[
23+
100,
24+
"1864"
25+
],
26+
[
27+
1000,
28+
"1903e8"
29+
],
30+
[
31+
115792089237316195423570985008687907853269984665640564039457584007913129639935,
32+
"37ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
33+
],
34+
[
35+
115792089237316195423570985008687907853269984665640564039457584007913129639936,
36+
"38010000000000000000000000000000000000000000000000000000000000000000"
37+
],
38+
[
39+
[ 1, 2, [] ],
40+
"83010280"
41+
],
42+
[
43+
[ [ [], [] ], [] ],
44+
"8282808080"
45+
],
46+
[
47+
[ "zw", [ 4 ], "wz" ],
48+
"83427a77810442777a"
49+
]
50+
]

trietest.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[
2+
{
3+
"do": "verb",
4+
"horse": "stallion",
5+
"doge": "coin",
6+
"dog": "puppy"
7+
},
8+
"6529010d2a2f633bfe03e7a3a3503e5a5bccd1ca49989ac0fb195fd022c6cc93"
9+
]

0 commit comments

Comments
 (0)