Changeset 550 for cpp/frams/_demos/geometry
- Timestamp:
- 07/30/16 03:18:42 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/_demos/geometry/geometrytestutils.cpp
r547 r550 8 8 #include "frams/genetics/preconfigured.h" 9 9 #include <common/virtfile/stdiofile.h> 10 #include <common/loggers/loggertostdout.h> 10 11 #include <math.h> 11 12 #include <stdio.h> … … 54 55 MiniGenotypeLoader loader(file); 55 56 MiniGenotype *genotype; 56 PreconfiguredGenetics genetics;57 57 58 58 while (genotype = loader.loadNextGenotype()) … … 122 122 int GeometryTestUtils::execute(const SString header, int argc, char *argv[], void (*test)(Model &)) 123 123 { 124 LoggerToStdout messages_to_stdout(LoggerBase::Enable); //comment this object out to mute error/warning messages 125 StdioFileSystem_autoselect stdiofilesys; 126 PreconfiguredGenetics genetics; 127 124 128 srand(time(NULL)); 125 StdioFileSystem_autoselect stdiofilesys; 126 129 127 130 if ((argc == 3) && (strcmp("-l", argv[1]) == 0)) 128 131 { … … 182 185 void (*test)(Model &, const double)) 183 186 { 187 LoggerToStdout messages_to_stdout(LoggerBase::Enable); //comment this object out to mute error/warning messages 188 StdioFileSystem_autoselect stdiofilesys; 189 PreconfiguredGenetics genetics; 190 184 191 srand(time(NULL)); 185 StdioFileSystem_autoselect stdiofilesys; 186 192 187 193 if ((argc == 3) && (strcmp("-l", argv[1]) == 0)) 188 194 {
Note: See TracChangeset
for help on using the changeset viewer.