aboutsummaryrefslogtreecommitdiffstats
path: root/rlptest.json
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-02-22 02:49:24 +0800
committerGav Wood <i@gavwood.com>2014-02-22 02:49:24 +0800
commita0ec84383218ea80b4c0b99e09710fae182a2379 (patch)
treebc2b474781d0b0621ad1d854271d0f512f26341f /rlptest.json
parent660cd26f31b3979149950c1fdea995b85a774c1c (diff)
downloaddexon-tests-a0ec84383218ea80b4c0b99e09710fae182a2379.tar
dexon-tests-a0ec84383218ea80b4c0b99e09710fae182a2379.tar.gz
dexon-tests-a0ec84383218ea80b4c0b99e09710fae182a2379.tar.bz2
dexon-tests-a0ec84383218ea80b4c0b99e09710fae182a2379.tar.lz
dexon-tests-a0ec84383218ea80b4c0b99e09710fae182a2379.tar.xz
dexon-tests-a0ec84383218ea80b4c0b99e09710fae182a2379.tar.zst
dexon-tests-a0ec84383218ea80b4c0b99e09710fae182a2379.zip
Moved over to new format, but RLP tests still need updating.
Diffstat (limited to 'rlptest.json')
-rw-r--r--rlptest.json100
1 files changed, 46 insertions, 54 deletions
diff --git a/rlptest.json b/rlptest.json
index b443d65a4..ea74c2c9e 100644
--- a/rlptest.json
+++ b/rlptest.json
@@ -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"
+ }
+}