Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/CuraEngine.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim Kuipers <t.kuipers@ultimaker.com>2022-03-25 11:45:04 +0300
committerTim Kuipers <t.kuipers@ultimaker.com>2022-03-25 11:45:04 +0300
commit01d695d84499843b1db1c25e90040e6c3d14861c (patch)
treece26643d6d18e261a5411329fa88b4d25ff5bad2 /tests
parent61795eaf06e65b9103739dac1e959f144ca7346d (diff)
Collapse typedef VariableWidthPaths
It was confusing, since we also had VariableWidthLines.
Diffstat (limited to 'tests')
-rw-r--r--tests/InfillTest.cpp2
-rw-r--r--tests/PathOrderMonotonicTest.cpp2
-rw-r--r--tests/utils/PolygonConnectorTest.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/InfillTest.cpp b/tests/InfillTest.cpp
index cde98a939..23b083f5e 100644
--- a/tests/InfillTest.cpp
+++ b/tests/InfillTest.cpp
@@ -172,7 +172,7 @@ namespace cura
); // There are some optional parameters, but these will do for now (future improvement?).
Settings infill_settings;
- VariableWidthPaths result_paths;
+ std::vector<VariableWidthLines> result_paths;
Polygons result_polygons;
Polygons result_lines;
infill.generate(result_paths, result_polygons, result_lines, infill_settings, nullptr, nullptr);
diff --git a/tests/PathOrderMonotonicTest.cpp b/tests/PathOrderMonotonicTest.cpp
index 9d55c99b6..b6e53d682 100644
--- a/tests/PathOrderMonotonicTest.cpp
+++ b/tests/PathOrderMonotonicTest.cpp
@@ -114,7 +114,7 @@ namespace cura
max_deviation
);
Settings infill_settings;
- VariableWidthPaths result_paths;
+ std::vector<VariableWidthLines> result_paths;
Polygons dummy_polys;
infill_comp.generate(result_paths, dummy_polys, output, infill_settings, nullptr, nullptr);
}
diff --git a/tests/utils/PolygonConnectorTest.cpp b/tests/utils/PolygonConnectorTest.cpp
index a5681f4f7..0d4d8c920 100644
--- a/tests/utils/PolygonConnectorTest.cpp
+++ b/tests/utils/PolygonConnectorTest.cpp
@@ -23,7 +23,7 @@ public:
PolygonConnector* pc;
Polygons connected_polygons;
- VariableWidthPaths connected_paths;
+ std::vector<VariableWidthLines> connected_paths;
virtual void SetUp()
{
@@ -169,7 +169,7 @@ TEST_F(PolygonConnectorTest, connectFourNested)
pc->add(connecting);
Polygons output_polygons;
- VariableWidthPaths output_paths;
+ std::vector<VariableWidthLines> output_paths;
pc->connect(output_polygons, output_paths);
EXPECT_EQ(output_polygons.size(), 1) << "All four polygons should've gotten connected into 1 single polygon.";