fix some errors in tests

- use eoEvalCounterThrowException
- use make_help
This commit is contained in:
Johann Dreo 2020-03-26 22:47:26 +01:00
commit 75ac37b02a
16 changed files with 25 additions and 19 deletions

View file

@ -36,3 +36,9 @@
// --- Global variables - but don't know what else to do - MS ---
bool existSIGContinue = false;
bool call_func = false;
void set_bool(int)
{
call_func = true;
}

View file

@ -42,10 +42,7 @@
extern bool existSIGContinue;
extern bool call_func;
void set_bool(int)
{
call_func = true;
}
void set_bool(int);
/**
A continuator that stops if a given signal is received during the execution

View file

@ -145,7 +145,7 @@ void run_ea(eoAlgo<eoEsFull<eoMinimizingFitness> >& _ga, eoPop<eoEsFull<eoMinimi
// end of parameter input (+ .status + help)
// that one is not templatized, but is here for completeness
void make_help(eoParser & _parser, bool exit_after = true);
void make_help(eoParser & _parser, bool exit_after);
/** @} */
/** @} */

View file

@ -101,7 +101,7 @@ void run_ea(eoAlgo<eoReal<eoMinimizingFitness> >& _ga, eoPop<eoReal<eoMinimizing
// end of parameter input (+ .status + help)
// that one is not templatized
// Because of that, the source is in src/utils dir
void make_help(eoParser & _parser, bool exit_after = true);
void make_help(eoParser & _parser, bool exit_after);
/** @} */
#endif