Refactored BDecoderTest..

Hi all

Here I think is a better version. The methods are more cohesive IMHO.  It is easier to reason about a test, put it in gdb etc…

With long methods it is easier to get lost… ( It is like an army of characters coming at you ;-)

I am planning to refactor testReadTorrent() too…
– cheerio atul

Attached Files:

Would you like to post a relpy?


This post starts a thread.
Follow-ups:
Re: Refactored BDecoderTest..
Hi Atul, This patch is pushed to your public branch in revno 87. The tests look quite nice! Would you mind adding a short documentation for each test function saying what (more...)