Hi there,
In these days I'm coding some data structures in Java. Many of them (if not all) offer a very simple interface (add, contains, delete) but under the hood there are non-trivial algorithms.
How can I use the tdd technique in such a situation?
I think that the problem is that tdd (and in general unit testing) is about testing the interfaces and not the implementations. Am I right? How can I deal with this?
If you know any technique to handle this cases please let me know it.
Thank you for your help.