15 std::vector<HashValue> & all_hashes)
19 std::vector<std::complex<long>> cmplx_test;
21 for(
auto j : int_test)
22 cmplx_test.push_back({i,j});
24 test_fundamental<signed char >(
int_test, htype, all_hashes);
25 test_fundamental<signed short >(
int_test, htype, all_hashes);
26 test_fundamental<signed int >(
int_test, htype, all_hashes);
27 test_fundamental<signed long >(
int_test, htype, all_hashes);
28 test_fundamental<signed long long >(
int_test, htype, all_hashes);
29 test_fundamental<unsigned char >(
int_test, htype, all_hashes);
30 test_fundamental<unsigned short >(
int_test, htype, all_hashes);
31 test_fundamental<unsigned int >(
int_test, htype, all_hashes);
32 test_fundamental<unsigned long >(
int_test, htype, all_hashes);
33 test_fundamental<unsigned long long >(
int_test, htype, all_hashes);
Helper functions for testing.
void test_integers(HashType htype, std::vector< HashValue > &all_hashes)
HashType
Type of hash to use.
static const std::vector< long > int_test