Attached is a unit test I wrote a while back that can be simply dropped into freenet/support/tests - it's for the Key class.
It takes the test code from the Key class that's all commented out anyway, and expands on it a bit into a real unit test. I've submitted this once before, but I think it might have fallen through the cracks. Of course all constructive criticism is welcome, since I'm somewhat new to unit testing in java. M. David Allen
KeyTest.java
Description: Binary data
