summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Subsampling/test/test_choose_farthest_point.cpp2
-rw-r--r--src/Subsampling/test/test_pick_random_points.cpp2
2 files changed, 2 insertions, 2 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);
}
diff --git a/src/Subsampling/test/test_pick_random_points.cpp b/src/Subsampling/test/test_pick_random_points.cpp
index 8156160e..d74f992f 100644
--- a/src/Subsampling/test/test_pick_random_points.cpp
+++ b/src/Subsampling/test/test_pick_random_points.cpp
@@ -60,6 +60,6 @@ int main() {
std::cout << "landmark vector contains: ";
for (auto l: results)
std::cout << l << "\n";
- assert(results.size() == 5);
+ BOOST_CHECK(results.size() == 5);
}