diff options
author | Vitalik Buterin <v@buterin.com> | 2014-07-22 11:30:33 +0800 |
---|---|---|
committer | Vitalik Buterin <v@buterin.com> | 2014-07-22 11:30:33 +0800 |
commit | e8cb5c221d4763c8c26ac73f99609b64a595f4b3 (patch) | |
tree | b3e093d8b091828736d307cde67e52ef59583acd /trietestnextprev.json | |
parent | 98823c04b30ef0be478c69a11edc3f9f6dff567e (diff) | |
download | dexon-e8cb5c221d4763c8c26ac73f99609b64a595f4b3.tar dexon-e8cb5c221d4763c8c26ac73f99609b64a595f4b3.tar.gz dexon-e8cb5c221d4763c8c26ac73f99609b64a595f4b3.tar.bz2 dexon-e8cb5c221d4763c8c26ac73f99609b64a595f4b3.tar.lz dexon-e8cb5c221d4763c8c26ac73f99609b64a595f4b3.tar.xz dexon-e8cb5c221d4763c8c26ac73f99609b64a595f4b3.tar.zst dexon-e8cb5c221d4763c8c26ac73f99609b64a595f4b3.zip |
Added next/prev trie test
Diffstat (limited to 'trietestnextprev.json')
-rw-r--r-- | trietestnextprev.json | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/trietestnextprev.json b/trietestnextprev.json new file mode 100644 index 000000000..f2ad924e3 --- /dev/null +++ b/trietestnextprev.json @@ -0,0 +1,19 @@ +{ + "basic": { + "in": [ "cat", "doge", "wallace" ], + "tests": [ + [ "", "", "cat" ], + [ "bobo", "", "cat" ], + [ "c", "", "cat" ], + [ "car", "", "cat" ], + [ "cat", "", "doge" ], + [ "catering", "cat", "doge" ], + [ "d", "cat", "doge" ], + [ "doge", "cat", "wallace" ], + [ "dogerton", "doge", "wallace" ], + [ "w", "doge", "wallace" ], + [ "wallace", "doge", "" ], + [ "wallace123", "wallace", ""] + ] + } +} |