…
Peter Dimov wrote:
…..
P.S. I wouldn’t like to change too much Gnutella::Packets just for the sake of experimentation.….
Are you referring to the changes ( or kind of changes ) like the ones I proposed…
If so, I understand ;-) It is usually a tight rope walk…
It really all depends on the tests… Exhaustive unit test suite which will tell me right away if I broke something…
What about CppUnit? CppUnit is a beauty… I started to pull Caltiko code into a test harness, but thought I would ask here first…
Separating out classes, and putting Unit Tests in is not simple but gives you a greater understanding… ( I could run some complex method into gdb and experiment with various input …)
I have a copy of Mike Feather’s book and used some of the techniques he proposes.. painful, yes but invaluable ;-)
—- cheers atul
