Files
sandbox/misc/algotest/algotune.h
Kyle Isom a5d4812025 algotune: start work on algotune.
This is a library for stress testing algorithms problems.
2018-04-12 21:25:17 -07:00

21 lines
473 B
C++

#ifndef __LIB_ALGOTUNE__
#define __LIB_ALGOTUNE__
#include <vector>
namespace algotune {
int rand_int(int low, int high);
int64_t rand_int(int64_t low, int64_t high);
std::vector<int> gen_int_vector(int size, int low, int high);
std::vector<int64_t> gen_int_vector(int size, int low, int high);
void stress_test_int(bool(*func)(std::vector<int>));
void stress_test_int64(bool(*func)(std::vector<int64_t));
} // namespace algotune
#endif // __LIB_ALGOTUNE__