File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed
Linear_cell_complex/test/Linear_cell_complex Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 7
7
8
8
typedef CGAL::Linear_cell_complex_for_combinatorial_map<2 > LCC;
9
9
10
- # ifndef CGAL_NO_DEPRECATED_CODE
10
+
11
11
12
12
int main ()
13
13
{
14
+ #ifndef CGAL_NO_DEPRECATED_CODE
14
15
LCC lcc1, lcc2;
15
16
16
17
// Planar graph with 3 vertices and 3 edges (triangle)
@@ -28,8 +29,7 @@ int main()
28
29
// Test deprecated function
29
30
auto d2 = CGAL::import_from_plane_graph (lcc2, input);
30
31
assert (d2 != LCC::null_descriptor);
31
-
32
+ # endif // CGAL_NO_DEPRECATED_CODE
32
33
return EXIT_SUCCESS;
33
34
}
34
35
35
- #endif // CGAL_NO_DEPRECATED_CODE
Original file line number Diff line number Diff line change 9
9
typedef CGAL::Linear_cell_complex_for_combinatorial_map<3 > LCC;
10
10
typedef CGAL::Polyhedron_3<LCC::Traits> Polyhedron;
11
11
12
- #ifndef CGAL_NO_DEPRECATED_CODE
13
12
14
13
int main ()
15
14
{
15
+ #ifndef CGAL_NO_DEPRECATED_CODE
16
16
std::stringstream ss (" OFF\n 0 0 0\n " );
17
17
18
18
Polyhedron P;
@@ -25,8 +25,7 @@ int main()
25
25
26
26
auto d2 = CGAL::import_from_polyhedron_3<LCC>(lcc2, P);
27
27
assert (d2 == LCC::null_descriptor);
28
-
28
+ # endif // CGAL_NO_DEPRECATED_CODE
29
29
return EXIT_SUCCESS;
30
30
}
31
31
32
- #endif // CGAL_NO_DEPRECATED_CODE
Original file line number Diff line number Diff line change 8
8
typedef CGAL::Linear_cell_complex_for_combinatorial_map<3 > LCC_3;
9
9
typedef CGAL::Delaunay_triangulation_3<LCC_3::Traits> Triangulation;
10
10
11
- # ifndef CGAL_NO_DEPRECATED_CODE
11
+
12
12
13
13
int main ()
14
14
{
15
+ #ifndef CGAL_NO_DEPRECATED_CODE
15
16
LCC_3 lcc1, lcc2;
16
17
Triangulation T;
17
18
@@ -22,8 +23,7 @@ int main()
22
23
23
24
auto d2 = CGAL::import_from_triangulation_3 (lcc2, T);
24
25
assert (d2 == LCC_3::null_descriptor);
25
-
26
+ # endif // CGAL_NO_DEPRECATED_CODE
26
27
return EXIT_SUCCESS;
27
28
}
28
29
29
- #endif // CGAL_NO_DEPRECATED_CODE
You can’t perform that action at this time.
0 commit comments