aboutsummaryrefslogtreecommitdiffstats
path: root/TrieTests
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-12-12 23:33:51 +0800
committerGav Wood <i@gavwood.com>2014-12-12 23:33:51 +0800
commitf1464676074592ee410804653f6c191b931b24f1 (patch)
tree113d7f237d343cac97fa9ea3de82284f5dcec091 /TrieTests
parentc2bd8d1d7aae5c3a13340719e79ea652f31248bf (diff)
downloaddexon-f1464676074592ee410804653f6c191b931b24f1.tar
dexon-f1464676074592ee410804653f6c191b931b24f1.tar.gz
dexon-f1464676074592ee410804653f6c191b931b24f1.tar.bz2
dexon-f1464676074592ee410804653f6c191b931b24f1.tar.lz
dexon-f1464676074592ee410804653f6c191b931b24f1.tar.xz
dexon-f1464676074592ee410804653f6c191b931b24f1.tar.zst
dexon-f1464676074592ee410804653f6c191b931b24f1.zip
Add test file.
Diffstat (limited to 'TrieTests')
-rw-r--r--TrieTests/trieanyorder.json55
1 files changed, 55 insertions, 0 deletions
diff --git a/TrieTests/trieanyorder.json b/TrieTests/trieanyorder.json
new file mode 100644
index 000000000..ebf5fbff0
--- /dev/null
+++ b/TrieTests/trieanyorder.json
@@ -0,0 +1,55 @@
+{
+ "singleItem": {
+ "in": {
+ "A": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
+ },
+ "root": "0xd23786fb4a010da3ce639d66d5e904a11dbc02746d1ce25029e53290cabf28ab"
+ },
+ "dogs": {
+ "in": {
+ "doe": "reindeer",
+ "dog": "puppy",
+ "dogglesworth": "cat"
+ },
+ "root": "0x8aad789dff2f538bca5d8ea56e8abe10f4c7ba3a5dea95fea4cd6e7c3a1168d3"
+ },
+ "puppy": {
+ "in": {
+ "do": "verb",
+ "horse": "stallion",
+ "doge": "coin",
+ "dog": "puppy"
+ },
+ "root": "0x5991bb8c6514148a29db676a14ac506cd2cd5775ace63c30a4fe457715e9ac84"
+ },
+ "foo": {
+ "in": {
+ "foo": "bar",
+ "food": "bat",
+ "food": "bass"
+ },
+ "root": "0x17beaa1648bafa633cda809c90c04af50fc8aed3cb40d16efbddee6fdf63c4c3"
+ },
+ "smallValues": {
+ "in": {
+ "be": "e",
+ "dog": "puppy",
+ "bed": "d"
+ },
+ "root": "0x3f67c7a47520f79faa29255d2d3c084a7a6df0453116ed7232ff10277a8be68b"
+ },
+ "testy": {
+ "in": {
+ "test": "test",
+ "te": "testy"
+ },
+ "root": "0x8452568af70d8d140f58d941338542f645fcca50094b20f3c3d8c3df49337928"
+ },
+ "hex": {
+ "in": {
+ "0x0045": "0x0123456789",
+ "0x4500": "0x9876543210"
+ },
+ "root": "0x285505fcabe84badc8aa310e2aae17eddc7d120aabec8a476902c8184b3a3503"
+ }
+}