You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Separate for each example the main method from the example, e.g. provide function objective and exampleXX, which should be placed in a .hpp file.
exampleXX should use seed and all command line options as input parameters and return ga.statistics() or something similar.
Therefore the implementation in exampleXX could be used both in the example executable (main in .C file) and in addition be used in a unit test with a static seed.
Currently the first examples used in unit tests duplicate the code, which is unfortunate. This should be reworked.
Examples 1, 4, 5, 7 (?) are already used also as unit tests.
Do this for all existing examples.
Restructure unit test files in a meaningful manner.
The text was updated successfully, but these errors were encountered: