JUnit tests for collections -


i've implemented radix trie (aka patricia trie) in java, , thoroughly test it. implements map, sortedmap , navigablemap interfaces, add pretty large number of methods check. =/

i figure people wrote library classes hashmap , treemap must have had suite of junit tests (or similar) ensure behave correctly. know of way source code of these tests? i'd love put code through same paces.

in google collections library, there basic test harnesses thoroughly test contracts of various structures, including maps.

here link gcode page: http://code.google.com/p/google-collections/


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -