#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] |
| int test_main | ( | ) |
Definition at line 30 of file test_hasher.cpp.
References libtorrent::hasher::final(), simple_client::h, repeat_count, result_array, test_array, TEST_CHECK, and libtorrent::hasher::update().
| long int repeat_count[4] = { 1, 1, 1000000, 10 } |
| 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().
1.5.6