summaryrefslogtreecommitdiff
path: root/src/Subsampling/test/test_choose_n_farthest_points.cpp
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-10-10 11:34:43 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-10-10 11:34:43 +0000
commited75f1b32ee06bacbc547bab36ccd0915275421f (patch)
treee466450aac155714d544dac6e544ba4dd8b91923 /src/Subsampling/test/test_choose_n_farthest_points.cpp
parentd1ec002edb5b3e1d72770418e55665cca58131c9 (diff)
parent6c9380e336455169a93cd384168f00c737a5ec27 (diff)
Merge last trunk modifications
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/relaxed-witness@1683 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: d4af11158b5de9422f9c9820176ff10f41f89cbe
Diffstat (limited to 'src/Subsampling/test/test_choose_n_farthest_points.cpp')
-rw-r--r--src/Subsampling/test/test_choose_n_farthest_points.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Subsampling/test/test_choose_n_farthest_points.cpp b/src/Subsampling/test/test_choose_n_farthest_points.cpp
index f79a4dfb..d064899a 100644
--- a/src/Subsampling/test/test_choose_n_farthest_points.cpp
+++ b/src/Subsampling/test/test_choose_n_farthest_points.cpp
@@ -35,10 +35,9 @@
#include <CGAL/Epick_d.h>
-typedef CGAL::Epick_d<CGAL::Dynamic_dimension_tag> K;
-typedef typename K::FT FT;
-typedef typename K::Point_d Point_d;
-
+typedef CGAL::Epick_d<CGAL::Dynamic_dimension_tag> K;
+typedef typename K::FT FT;
+typedef typename K::Point_d Point_d;
BOOST_AUTO_TEST_CASE(test_choose_farthest_point) {
std::vector< Point_d > points, landmarks;
@@ -52,6 +51,6 @@ BOOST_AUTO_TEST_CASE(test_choose_farthest_point) {
landmarks.clear();
K k;
Gudhi::subsampling::choose_n_farthest_points(k, points, 100, std::back_inserter(landmarks));
-
+
BOOST_CHECK(landmarks.size() == 100);
}