diff --git a/Shape_detection/examples/Shape_detection/region_growing_planes_on_polygon_mesh.cpp b/Shape_detection/examples/Shape_detection/region_growing_planes_on_polygon_mesh.cpp index 0e22b724761..bbf6ade37c0 100644 --- a/Shape_detection/examples/Shape_detection/region_growing_planes_on_polygon_mesh.cpp +++ b/Shape_detection/examples/Shape_detection/region_growing_planes_on_polygon_mesh.cpp @@ -76,7 +76,7 @@ int main(int argc, char *argv[]) { std::vector regions; region_growing.detect(std::back_inserter(regions)); std::cout << "* number of found planes: " << regions.size() << std::endl; - assert(!is_default_input || regions.size() == 355); + assert(!is_default_input || regions.size() == 365); const Region_growing::Region_map& map = region_growing.region_map(); diff --git a/Shape_detection/test/Shape_detection/test_region_growing_on_degenerated_mesh.cpp b/Shape_detection/test/Shape_detection/test_region_growing_on_degenerated_mesh.cpp index 96a86e9141e..8e8431c0fe2 100644 --- a/Shape_detection/test/Shape_detection/test_region_growing_on_degenerated_mesh.cpp +++ b/Shape_detection/test/Shape_detection/test_region_growing_on_degenerated_mesh.cpp @@ -69,13 +69,13 @@ bool test_region_growing_on_degenerated_mesh(int argc, char *argv[]) { std::vector regions; region_growing.detect(std::back_inserter(regions)); - assert(regions.size() == 296); + assert(regions.size() == 298); for (const auto& region : regions) assert(region_type.is_valid_region(region.second)); std::vector unassigned_faces; region_growing.unassigned_items(face_range, std::back_inserter(unassigned_faces)); - assert(unassigned_faces.size() == 509); + assert(unassigned_faces.size() == 496); return true; } diff --git a/Shape_detection/test/Shape_detection/test_region_growing_on_polygon_mesh.cpp b/Shape_detection/test/Shape_detection/test_region_growing_on_polygon_mesh.cpp index 54a5889524d..afed5232286 100644 --- a/Shape_detection/test/Shape_detection/test_region_growing_on_polygon_mesh.cpp +++ b/Shape_detection/test/Shape_detection/test_region_growing_on_polygon_mesh.cpp @@ -68,13 +68,13 @@ bool test_region_growing_on_polygon_mesh(int argc, char *argv[]) { std::vector regions; region_growing.detect(std::back_inserter(regions)); - assert(regions.size() == 414); + assert(regions.size() == 416); for (const auto& region : regions) assert(region_type.is_valid_region(region.second)); std::vector unassigned_faces; region_growing.unassigned_items(face_range, std::back_inserter(unassigned_faces)); - assert(unassigned_faces.size() == 992); + assert(unassigned_faces.size() == 1006); return true; } diff --git a/Shape_detection/test/Shape_detection/test_region_growing_on_polygon_mesh_with_sorting.cpp b/Shape_detection/test/Shape_detection/test_region_growing_on_polygon_mesh_with_sorting.cpp index a077bc79aa6..9c348f335ff 100644 --- a/Shape_detection/test/Shape_detection/test_region_growing_on_polygon_mesh_with_sorting.cpp +++ b/Shape_detection/test/Shape_detection/test_region_growing_on_polygon_mesh_with_sorting.cpp @@ -78,7 +78,7 @@ int main(int argc, char *argv[]) { std::vector regions; region_growing.detect(std::back_inserter(regions)); region_growing.clear(face_range); - assert(regions.size() == 355); + assert(regions.size() == 365); } std::cout << "rg_sortfaces3, epeck_test_success: " << true << std::endl;