diff options
author | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2015-09-09 08:47:19 +0000 |
---|---|---|
committer | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2015-09-09 08:47:19 +0000 |
commit | bc9c3de6cf45a44666ca3ac0a5a2c2151a4996d9 (patch) | |
tree | 7fdaa7e06f1aedd8ee503c2a75a64e17881e5939 /src/Simplex_tree/test | |
parent | c71a91c4192c82c464c8300a1b7b2e9de8fb2ca9 (diff) |
Issue fix for operator==. Replaced by is_equal function (constify is required first for operator==)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/copy_move@775 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 90d5e30caafb0679117be1ea40a12753847e9ab7
Diffstat (limited to 'src/Simplex_tree/test')
-rw-r--r-- | src/Simplex_tree/test/simplex_tree_unit_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Simplex_tree/test/simplex_tree_unit_test.cpp b/src/Simplex_tree/test/simplex_tree_unit_test.cpp index d9666c52..6be6d4f3 100644 --- a/src/Simplex_tree/test/simplex_tree_unit_test.cpp +++ b/src/Simplex_tree/test/simplex_tree_unit_test.cpp @@ -657,7 +657,7 @@ BOOST_AUTO_TEST_CASE(copy_move_on_simplex_tree) { //std::cout << st_copy << std::endl; // Check the data are the same - BOOST_CHECK(st == st_copy); + BOOST_CHECK(st.is_equal(st_copy)); // Check there is a new simplex tree reference BOOST_CHECK(&st != &st_copy); @@ -667,14 +667,14 @@ BOOST_AUTO_TEST_CASE(copy_move_on_simplex_tree) { //std::cout << st_move << std::endl; // Check the data are the same - BOOST_CHECK(st_move == st_copy); + BOOST_CHECK(st_move.is_equal(st_copy)); // Check there is a new simplex tree reference BOOST_CHECK(&st_move != &st_copy); BOOST_CHECK(&st_move != &st); typeST st_empty; // Check st has been emptied by the move - BOOST_CHECK(st == st_empty); + BOOST_CHECK(st.is_equal(st_empty)); BOOST_CHECK(st.filtration() == 0); BOOST_CHECK(st.dimension() == -1); BOOST_CHECK(st.num_simplices() == 0); |