Comment 2 for bug 411484

Revision history for this message
poy (poy) wrote :

added a testing tool in rev 3053: <http://bazaar.launchpad.net/~dcplusplus-team/dcplusplus/trunk/view/head:/test/testbloom.cpp>

the only test that doesn't pass is the last one:
  Actual: "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAI
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
Expected: "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"

if you feel like fixing it, the implementation is in the HashBloom class: <http://bazaar.launchpad.net/~dcplusplus-team/dcplusplus/trunk/view/head:/dcpp/HashBloom.cpp>