diff options
author | pdlotko <pdlotko@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-03-21 08:21:22 +0000 |
---|---|---|
committer | pdlotko <pdlotko@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-03-21 08:21:22 +0000 |
commit | 04c63ee74520c966451b0cb1713df8b3e9ca5bfb (patch) | |
tree | 1233c601d43dbbe183568006eff1d19eae577d9b /src/Bitmap_cubical_complex/test | |
parent | d3ff792428d5bc10cebcbccb5286e791f8b34905 (diff) |
Answers to comments.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/bitmap@1063 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 99cebe0573d75c98c8559ae4572b8f510e5cd9c0
Diffstat (limited to 'src/Bitmap_cubical_complex/test')
-rw-r--r-- | src/Bitmap_cubical_complex/test/Bitmap_test.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Bitmap_cubical_complex/test/Bitmap_test.cpp b/src/Bitmap_cubical_complex/test/Bitmap_test.cpp index b7a1c8b6..35c54ade 100644 --- a/src/Bitmap_cubical_complex/test/Bitmap_test.cpp +++ b/src/Bitmap_cubical_complex/test/Bitmap_test.cpp @@ -94,13 +94,13 @@ BOOST_AUTO_TEST_CASE(topDimensionalCellsIterator_test) { int i = 0; for (Bitmap_cubical_complex< Bitmap_cubical_complex_base<double> >::Top_dimensional_cells_iterator - it = increasing.top_dimensional_cells_begin(); it != increasing.top_dimensional_cells_end(); ++it) { + it = increasing.top_dimensional_cells_iterator_begin(); it != increasing.top_dimensional_cells_iterator_end(); ++it) { BOOST_CHECK(increasing.get_cell_data(*it) == expectedFiltrationValues2[i]); ++i; } i = 0; for (Bitmap_cubical_complex< Bitmap_cubical_complex_base<double> >::Top_dimensional_cells_iterator - it = hole.top_dimensional_cells_begin(); it != hole.top_dimensional_cells_end(); ++it) { + it = hole.top_dimensional_cells_iterator_begin(); it != hole.top_dimensional_cells_iterator_end(); ++it) { BOOST_CHECK(hole.get_cell_data(*it) == expectedFiltrationValues1[i]); ++i; } @@ -1229,7 +1229,7 @@ BOOST_AUTO_TEST_CASE(all_cells_iterator_and_boundary_iterators_in_Bitmap_cubical int bd_it = 0;
int cbd_it = 0;
- Bitmap_cubical_complex_base<double>::All_cells_iterator_range range(&ba);
+ Bitmap_cubical_complex_base<double>::All_cells_range range(&ba);
for ( Bitmap_cubical_complex_base<double>::All_cells_iterator it = range.begin() ; it != range.end() ; ++it )
{
BOOST_CHECK( expected_filtration[i] == ba.get_cell_data( *it ) );
@@ -1415,7 +1415,7 @@ BOOST_AUTO_TEST_CASE(all_cells_iterator_and_boundary_iterators_in_Bitmap_cubical int bd_it = 0;
int cbd_it = 0;
- Bitmap_cubical_complex_base<double>::All_cells_iterator_range range(&ba);
+ Bitmap_cubical_complex_base<double>::All_cells_range range = ba.all_cells_range();
for ( Bitmap_cubical_complex_base<double>::All_cells_iterator it = range.begin() ; it != range.end() ; ++it )
{
BOOST_CHECK( expected_filtration[i] == ba.get_cell_data( *it ) );
@@ -1481,7 +1481,7 @@ BOOST_AUTO_TEST_CASE(Top_dimensional_cells_iterator_range_check) Bitmap_cubical_complex_base<double> ba( sizes , data );
int i = 0;
- Bitmap_cubical_complex_base<double>::Top_dimensional_cells_iterator_range range(&ba);
+ Bitmap_cubical_complex_base<double>::Top_dimensional_cells_range range = ba.top_dimensional_cells_range();
for ( Bitmap_cubical_complex_base<double>::Top_dimensional_cells_iterator it = range.begin() ; it != range.end() ; ++it )
{
BOOST_CHECK( data[i] == ba.get_cell_data( *it ) );
|