diff options
author | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2019-06-07 15:34:25 +0200 |
---|---|---|
committer | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2019-06-07 15:34:25 +0200 |
commit | 3807bd77af3d03beace12305ef866cb6172e1f82 (patch) | |
tree | 2438ea24407111fc011a810ef67b5e31e8974614 /src/common/test/test_points_off_reader.cpp | |
parent | a08323ea6b3706191bbd546fcbfcd5d321e0ac92 (diff) | |
parent | b858862d63ffcdcaed0e0a4913f5d9d42bc0dcbb (diff) |
Merge branch 'master' of github.com:GUDHI/gudhi-devel
Diffstat (limited to 'src/common/test/test_points_off_reader.cpp')
-rw-r--r-- | src/common/test/test_points_off_reader.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/common/test/test_points_off_reader.cpp b/src/common/test/test_points_off_reader.cpp index ba3bab71..e4b76ed7 100644 --- a/src/common/test/test_points_off_reader.cpp +++ b/src/common/test/test_points_off_reader.cpp @@ -44,19 +44,19 @@ BOOST_AUTO_TEST_CASE( points_doc_test ) BOOST_CHECK(point_cloud.size() == 7); std::vector<Point_d> expected_points; - std::vector<double> point = {1.0, 1.0}; + std::vector<double> point = {1.0, 1.0, 0.0}; expected_points.push_back(Point_d(point.begin(), point.end())); - point = {7.0, 0.0}; + point = {7.0, 0.0, 0.0}; expected_points.push_back(Point_d(point.begin(), point.end())); - point = {4.0, 6.0}; + point = {4.0, 6.0, 0.0}; expected_points.push_back(Point_d(point.begin(), point.end())); - point = {9.0, 6.0}; + point = {9.0, 6.0, 0.0}; expected_points.push_back(Point_d(point.begin(), point.end())); - point = {0.0, 14.0}; + point = {0.0, 14.0, 0.0}; expected_points.push_back(Point_d(point.begin(), point.end())); - point = {2.0, 19.0}; + point = {2.0, 19.0, 0.0}; expected_points.push_back(Point_d(point.begin(), point.end())); - point = {9.0, 17.0}; + point = {9.0, 17.0, 0.0}; expected_points.push_back(Point_d(point.begin(), point.end())); BOOST_CHECK(point_cloud == expected_points); |