Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

Commit

Permalink
Added next/prev trie test
Browse files Browse the repository at this point in the history
  • Loading branch information
vbuterin committed Jul 22, 2014
1 parent 98823c0 commit e8cb5c2
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions trietestnextprev.json
Original file line number Diff line number Diff line change
@@ -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", ""]
]
}
}

0 comments on commit e8cb5c2

Please sign in to comment.