#include "libtorrent/aux_/allocate_resources_impl.hpp"#include <boost/utility.hpp>#include "test.hpp"Go to the source code of this file.
Classes | |
| struct | resource_entry |
Functions | |
| void | fill_client_vector (std::vector< resource_entry > &v) |
| void | check_client_vec (std::vector< resource_entry > const &v, int resources) |
| int | test_main () |
| void check_client_vec | ( | std::vector< resource_entry > const & | v, | |
| int | resources | |||
| ) |
Definition at line 28 of file test_allocate_resources.cpp.
References TEST_CHECK.
Referenced by test_main().
| void fill_client_vector | ( | std::vector< resource_entry > & | v | ) |
| int test_main | ( | ) |
Definition at line 43 of file test_allocate_resources.cpp.
References libtorrent::aux::allocate_resources_impl(), check_client_vec(), fill_client_vector(), and resource_entry::r.
1.5.6