From 944e30a1ea128c22c7e680e7311b9f2833030e08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Wed, 25 Sep 2013 18:10:20 +0200 Subject: [PATCH] hide a test when using intersection API v1 --- .../test/Filtered_kernel/test_lazy_vector_objects.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Filtered_kernel/test/Filtered_kernel/test_lazy_vector_objects.cpp b/Filtered_kernel/test/Filtered_kernel/test_lazy_vector_objects.cpp index c82938f4054..9fe27fe30e7 100644 --- a/Filtered_kernel/test/Filtered_kernel/test_lazy_vector_objects.cpp +++ b/Filtered_kernel/test/Filtered_kernel/test_lazy_vector_objects.cpp @@ -34,6 +34,7 @@ int main() } obj = CGAL::intersection(s1,s2); + #if CGAL_INTERSECTION_VERSION > 1 // check the variant return type CGAL::cpp11::result_of::type o_variant = CGAL::intersection(t1,t2); if(!o_variant) { @@ -53,6 +54,7 @@ int main() std::cerr << CGAL::exact((*V)[i]) << std::endl; } } + #endif } { @@ -74,6 +76,7 @@ int main() } } + #if CGAL_INTERSECTION_VERSION > 1 // check the variant return type CGAL::cpp11::result_of::type o_variant = CGAL::intersection(t1,t2); if(!o_variant) { @@ -93,7 +96,7 @@ int main() std::cerr << CGAL::exact((*V)[i]) << std::endl; } } - + #endif } //making the interval construction failing {