diff options
author | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2019-12-10 11:44:21 +0100 |
---|---|---|
committer | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2019-12-10 11:44:21 +0100 |
commit | ad0131187e70657b699eb205de901e50ab36a5d9 (patch) | |
tree | bb8e721258a8ce034e0f7d0de87cf041a5e0d8f1 /src/Persistence_representations/test | |
parent | 10e7b9ff243260887c54c5ca49d92a27c281c68f (diff) |
Fix #118 for persistence_intervals
Diffstat (limited to 'src/Persistence_representations/test')
-rw-r--r-- | src/Persistence_representations/test/persistence_intervals_test.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Persistence_representations/test/persistence_intervals_test.cpp b/src/Persistence_representations/test/persistence_intervals_test.cpp index 3b7a2049..a29dcbee 100644 --- a/src/Persistence_representations/test/persistence_intervals_test.cpp +++ b/src/Persistence_representations/test/persistence_intervals_test.cpp @@ -85,8 +85,7 @@ BOOST_AUTO_TEST_CASE(check_histogram_of_lengths) { template_histogram.push_back(6); template_histogram.push_back(1); template_histogram.push_back(7); - template_histogram.push_back(1); - template_histogram.push_back(1); + template_histogram.push_back(2); for (size_t i = 0; i != histogram.size(); ++i) { BOOST_CHECK(histogram[i] == template_histogram[i]); } @@ -105,7 +104,6 @@ BOOST_AUTO_TEST_CASE(check_cumulative_histograms_of_lengths) { template_cumulative_histogram.push_back(35); template_cumulative_histogram.push_back(36); template_cumulative_histogram.push_back(43); - template_cumulative_histogram.push_back(44); template_cumulative_histogram.push_back(45); for (size_t i = 0; i != cumulative_histogram.size(); ++i) { |