#include <CGAL/Combinatorial_map.h>
#include <CGAL/Combinatorial_map_constructors.h>
#include <CGAL/Combinatorial_map_operations.h>
#include <iostream>
#include <cstdlib>
typedef CMap_3::Dart_handle Dart_handle;
int main()
{
CMap_3 cm;
(cm,dh1->beta(1),dh1->beta(0)) );
CGAL_assertion( cm.is_valid() );
Dart_handle dh2=dh1->beta(2)->beta(1)->beta(1)->beta(2);
(cm,dh2,dh2->beta(1)->beta(1)) );
CGAL_assertion( cm.is_valid() );
std::vector<Dart_handle> path;
path.push_back(dh1->beta(1));
path.push_back(dh1->beta(0)->beta(2)->beta(1));
path.push_back(dh2->beta(0));
path.push_back(dh2->beta(2)->beta(1));
(cm,path.begin(),path.end())) );
CGAL_assertion( cm.is_valid() );
cm.display_characteristics(std::cout) << ", valid=" <<
cm.is_valid() << std::endl;
CGAL_assertion( (CGAL::is_removable<CMap_3, 2>(cm,dh3)) );
CGAL::remove_cell<CMap_3,2>(cm,dh3);
CGAL_assertion( cm.is_valid() );
CGAL_assertion( (CGAL::is_removable<CMap_3, 1>(cm,dh1->beta(1))) );
CGAL::remove_cell<CMap_3,1>(cm,dh1->beta(1));
CGAL_assertion( cm.is_valid() );
CGAL_assertion( (CGAL::is_removable<CMap_3, 1>(cm,dh2->beta(0))) );
CGAL::remove_cell<CMap_3,1>(cm,dh2->beta(0));
CGAL_assertion( cm.is_valid() );
cm.display_characteristics(std::cout) << ", valid="
<< cm.is_valid() << std::endl;
return EXIT_SUCCESS;
}