~vcs-imports/libtorrent/trunk

« back to all changes in this revision

Viewing changes to test/test_ip_voter.cpp

  • Committer: arvidn
  • Date: 2015-05-30 04:31:23 UTC
  • Revision ID: svn-v4:a83610d8-ad2a-0410-a6ab-fc0612d85776:trunk:11124
merge small unit tests to make running the tests quicker. expand the test framework a bit. add ax_boost_random.m4 script to link against boost.random correctly from makefile.

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
        TEST_CHECK(ipv.external_address() == addr1);
112
112
}
113
113
 
114
 
int test_main()
 
114
TORRENT_TEST(ip_voter)
115
115
{
116
116
        test_random();
117
117
        test_two_ips();