There is only one test case for now.
This is because it would require a huge ammount of effort to create test cases involving more then 1 peer.
See the comment in ConnectionTestSuite.h for a more detailed explanation.
I think that less time will be spent fixing bugs that unit tests would have picked up then it would have taken to implement multi peer test cases.
So I'm abandoning this issue for now.
I also added the actual/expected values to the error message produced when an assert_equals fails.
Closed by a14d174c593f1261636911155f003515cab044ed
Added a test case for the network module.
There is only one test case for now. This is because it would require a huge ammount of effort to create test cases involving more then 1 peer. See the comment in ConnectionTestSuite.h for a more detailed explanation. I think that less time will be spent fixing bugs that unit tests would have picked up then it would have taken to implement multi peer test cases. So I'm abandoning this issue for now.
I also added the actual/expected values to the error message produced when an assert_equals fails.
Closed by a14d174c593f1261636911155f003515cab044ed