Commit fae0d63b authored by kraus's avatar kraus
Browse files

apparently Populations method clean_population has been removed. Adapted PopulationTest

parent 3695de09
...@@ -30,7 +30,7 @@ namespace { ...@@ -30,7 +30,7 @@ namespace {
virtual void TearDown() { virtual void TearDown() {
// Code here will be called immediately after each test (right // Code here will be called immediately after each test (right
// before the destructor). // before the destructor).
population_->clean_population(); // population_->clean_population();
} }
boost::shared_ptr<Individual> createIndividual(size_t num_genes) { boost::shared_ptr<Individual> createIndividual(size_t num_genes) {
...@@ -190,4 +190,4 @@ namespace { ...@@ -190,4 +190,4 @@ namespace {
int main(int argc, char **argv) { int main(int argc, char **argv) {
::testing::InitGoogleTest(&argc, argv); ::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS(); return RUN_ALL_TESTS();
} }
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment