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

#include "libtorrent/hasher.hpp"
#include <boost/lexical_cast.hpp>
#include "test.hpp"

Go to the source code of this file.

Functions

int test_main ()

Variables

char const * test_array [4]
long int repeat_count [4] = { 1, 1, 1000000, 10 }
char const * result_array [4]


Function Documentation

int test_main (  ) 


Variable Documentation

long int repeat_count[4] = { 1, 1, 1000000, 10 }

Definition at line 20 of file test_hasher.cpp.

Referenced by test_main().

char const* result_array[4]

Initial value:

{
        "A9993E364706816ABA3E25717850C26C9CD0D89D",
        "84983E441C3BD26EBAAE4AA1F95129E5E54670F1",
        "34AA973CD4C4DAA4F61EEB2BDBAD27316534016F",
        "DEA356A2CDDD90C7A7ECEDC5EBB563934F460452"
}

Definition at line 22 of file test_hasher.cpp.

Referenced by test_main().

char const* test_array[4]

Initial value:

{
        "abc",
        "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
        "a",
        "0123456701234567012345670123456701234567012345670123456701234567"
}

Definition at line 12 of file test_hasher.cpp.

Referenced by test_main().


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