1 #ifndef MANAK_MANAK_CASE_HPP_INCLUDED
2 #define MANAK_MANAK_CASE_HPP_INCLUDED
26 library_name(library_name),
28 iterations(iterations),
35 std::function<T()> run_function,
40 library_name(library_name),
42 iterations(iterations),
50 const std::string& library_name,
56 library_name(library_name),
58 iterations(iterations),
61 std::function<T()> fun(run_function);
67 virtual std::list<utils::ObjectStore>
Run() = 0;
74 const std::string&
Name()
const
83 const std::string&
UName()
const
106 #endif // MANAK_MANAK_CASE_HPP_INCLUDED
ManakCase(const std::string &name, const std::string &library_name, double tolerance, const size_t iterations, double success_p)
std::vector< double > to_c
void AddComparisonEntry(double d)
const std::string & Name() const
ManakCase(const std::string &name, const std::string &library_name, T(run_function)(), double tolerance, const size_t iterations, double success_p)
const std::string & UName() const
ManakCase(const std::string &name, const std::string &library_name, std::function< T()> run_function, double tolerance, const size_t iterations, const double success_p)
virtual std::list< utils::ObjectStore > Run()=0
std::list< std::pair< std::string, std::function< void()> > > run_functions
const std::string & LibraryName() const