D:/opendownloadmanager/ODM-1.x/Bittorrent/libtorrent-0.12/test/test_allocate_resources.cpp File Reference

#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 ()


Function Documentation

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  ) 

Definition at line 18 of file test_allocate_resources.cpp.

Referenced by test_main().

int test_main (  ) 


Generated on Sun May 25 00:19:43 2008 by  doxygen 1.5.6