Joe,

Thank you for the link.

What I found strange is that non-Linked versions
(simple HashSet and HashMap)
passes all tests with CollectionFeature.KNOWN_ORDER

TestSuite source I ran (scala):
http://github.com/alex14n/CompactHashMap/blob/e2b81fb9ccf5446eff961d86eb3a0dc084a8a88c/test/Tests.scala

Alex

On Sat, Jun 6, 2009 at 9:47 PM, Joe Kearney
<joe.kear...@morganstanley.com>wrote:

> Alex,
> Might I suggest you look at the test framework in Google 
> Collections<http://code.google.com/p/google-collections/>?
> Extremely good coverage and only a couple of lines to set up.
> Tests for maps in java.util:
> http://www.google.com/codesearch/p?hl=en#YXcrkXezIpQ/trunk/testfw/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
> <http://www.google.com/codesearch/p?hl=en#YXcrkXezIpQ/trunk/testfw/com/google/common/collect/testing/TestsForMapsInJavaUtil.java>See
> for example line 118.
>
> Thanks,
> Joe
>

Reply via email to