From 121632bedd1c84a0af847b923aa4b803556722c0 Mon Sep 17 00:00:00 2001 From: Vitalik Buterin Date: Wed, 1 Jan 2014 08:26:18 -0500 Subject: [PATCH] Added obscure's tests --- hexencodetest.txt | 8 ++++++++ rlptest.txt | 4 ++++ trietest.txt | 8 ++++++++ 3 files changed, 20 insertions(+) diff --git a/hexencodetest.txt b/hexencodetest.txt index aafe29974b..a6d18834c6 100644 --- a/hexencodetest.txt +++ b/hexencodetest.txt @@ -22,5 +22,13 @@ [ [ 0, 16 ], "30" + ], + [ + [ 15, 1, 12, 11, 8, 16 ], + "3f1cb8" + ], + [ + [ 0, 15, 1, 12, 11, 8, 16 ], + "200f1cb8" ] ] diff --git a/rlptest.txt b/rlptest.txt index f8f86fba3a..b443d65a4d 100644 --- a/rlptest.txt +++ b/rlptest.txt @@ -11,6 +11,10 @@ [ "cat", "dog" ], "824363617443646f67" ], + [ + [ "dog", "god", "cat" ], + "8343646f6743676f6443636174" + ], [ 1, "01" diff --git a/trietest.txt b/trietest.txt index c2f3a9aabf..9ca65b2ac5 100644 --- a/trietest.txt +++ b/trietest.txt @@ -1,4 +1,12 @@ [ + [ + { + "doe": "reindeer", + "dog": "puppy", + "dogglesworth": "cat" + }, + "e378927bfc1bd4f01a2e8d9f59bd18db8a208bb493ac0b00f93ce51d4d2af76c" + ], [ { "do": "verb",