diff --git a/Heat_method_3/test/Heat_method_3/heat_method_intrinsic_surface_mesh_test.cpp b/Heat_method_3/test/Heat_method_3/heat_method_intrinsic_surface_mesh_test.cpp index dc4e20339ed..5e80773568e 100644 --- a/Heat_method_3/test/Heat_method_3/heat_method_intrinsic_surface_mesh_test.cpp +++ b/Heat_method_3/test/Heat_method_3/heat_method_intrinsic_surface_mesh_test.cpp @@ -1,3 +1,5 @@ +#define CGAL_TESTSUITE + #include #include #include @@ -30,6 +32,8 @@ typedef CGAL::Heat_method_3::Heat_method_3 typedef CGAL::Heat_method_3::Heat_method_Eigen_traits_3::SparseMatrix SparseMatrix; +struct Heat_method_3_private_tests { + #if 0 void source_set_tests(Heat_method hm, const Idt& sm) { @@ -37,7 +41,6 @@ void source_set_tests(Heat_method hm, const Idt& sm) hm.add_source(source); assert(*(hm.sources_begin()) == source); assert(hm.remove_source(source)); - assert((hm.get_sources()).empty()); assert(hm.add_source(*(vertices(sm).first))); assert(*(hm.sources_begin()) == source); assert(hm.add_source(*(std::next(vertices(sm).first,3)))); @@ -171,3 +174,11 @@ int main(int argc, char*argv[]) return 0; } + +}; + +int main(int argc, char*argv[]) +{ + Heat_method_3_private_tests tests; + return tests.main(argc,argv); +} diff --git a/Heat_method_3/test/Heat_method_3/heat_method_surface_mesh_test.cpp b/Heat_method_3/test/Heat_method_3/heat_method_surface_mesh_test.cpp index 7ae6b7e6041..787b1bbb889 100644 --- a/Heat_method_3/test/Heat_method_3/heat_method_surface_mesh_test.cpp +++ b/Heat_method_3/test/Heat_method_3/heat_method_surface_mesh_test.cpp @@ -203,9 +203,9 @@ int main() }; - int main() - { - Heat_method_3_private_tests tests; - return tests.main(); - - } + +int main() +{ + Heat_method_3_private_tests tests; + return tests.main(); +}