summaryrefslogtreecommitdiff
path: root/src/Simplex_tree/test
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2018-08-21 08:44:32 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2018-08-21 08:44:32 +0000
commitb83a2c100cf19eb3cd6ddf4fb0dca9ddcec52906 (patch)
tree2a13d6c6d1bc168c9fdc5f8e9ef22d1212ad344e /src/Simplex_tree/test
parent616d80c1208f3a14b871b0105f56ee9abd98a82c (diff)
Bad copy assignment test
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/simplex_tree_fix_vincent@3815 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: c5c9cd3c0553b3367452489e7fd5e874f5093742
Diffstat (limited to 'src/Simplex_tree/test')
-rw-r--r--src/Simplex_tree/test/simplex_tree_ctor_and_move_unit_test.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Simplex_tree/test/simplex_tree_ctor_and_move_unit_test.cpp b/src/Simplex_tree/test/simplex_tree_ctor_and_move_unit_test.cpp
index c9439e65..b963d4ee 100644
--- a/src/Simplex_tree/test/simplex_tree_ctor_and_move_unit_test.cpp
+++ b/src/Simplex_tree/test/simplex_tree_ctor_and_move_unit_test.cpp
@@ -54,8 +54,10 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(simplex_copy_constructor, Simplex_tree, list_of_te
std::cout << "********************************************************************" << std::endl;
std::cout << "TEST OF COPY ASSIGNMENT" << std::endl;
- Simplex_tree st3 = st;
- Simplex_tree st4 = st;
+ Simplex_tree st3;
+ st3 = st;
+ Simplex_tree st4;
+ st4 = st;
// Cross check
BOOST_CHECK(st3 == st4);
BOOST_CHECK(st == st4);