fixed problem in piece_picker with filtered files, also optimzed it somewhat. Added more logging and added one test to the piece_picker test

This commit is contained in:
Arvid Norberg
2005-09-01 21:04:21 +00:00
parent 41d2c0d694
commit a15f589341
11 changed files with 133 additions and 59 deletions

View File

@@ -243,9 +243,9 @@ int test_main()
TEST_CHECK(std::equal(picked.begin()
, picked.end(), expected6));
// TODO: make sure there are no duplicates
// in the picked blocks!
// make sure the piece picker allows filtered pieces
// to become available
p.mark_as_finished(piece_block(4, 2), address());
}
return 0;