diff options
author | cjamin <cjamin@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-08-04 13:38:18 +0000 |
---|---|---|
committer | cjamin <cjamin@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-08-04 13:38:18 +0000 |
commit | 2455525b1583b7a7b4c38d0637a1e0507cf5181d (patch) | |
tree | 1ce7abcc63b50062ea10661cf4e01489db50a7a1 /src/Subsampling/test/test_choose_farthest_point.cpp | |
parent | ded061ad26b38155e9136a0e7c01d9c0e81a36be (diff) |
Use BOOST_CHECK instead of assert
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/subsampling_and_spatialsearching@1401 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 6822fcbda4e9fdaa8a5850b4042a79800c8c019a
Diffstat (limited to 'src/Subsampling/test/test_choose_farthest_point.cpp')
-rw-r--r-- | src/Subsampling/test/test_choose_farthest_point.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Subsampling/test/test_choose_farthest_point.cpp b/src/Subsampling/test/test_choose_farthest_point.cpp index 5f705de6..a1929924 100644 --- a/src/Subsampling/test/test_choose_farthest_point.cpp +++ b/src/Subsampling/test/test_choose_farthest_point.cpp @@ -53,5 +53,5 @@ BOOST_AUTO_TEST_CASE(test_choose_farthest_point) { K k; Gudhi::subsampling::choose_by_farthest_point(k, points, 100, std::back_inserter(landmarks)); - assert(landmarks.size() == 100); + BOOST_CHECK(landmarks.size() == 100); } |