Select Git revision
result_compare.hpp 341 B
#ifndef RESULT_COMPARE_HPP
#define RESULT_COMPARE_HPP
template<typename func_type, typename compare_func_type, typename ... args_t>
bool compare_results(func_type test_func, compare_func_type compare_func, args_t ... args)
{
test_func(args...);
return compare_func(args...);
}
#endif /* end of include guard: RESULT_COMPARE_HPP */