mirror of
https://github.com/QIDITECH/QIDISlicer.git
synced 2026-01-30 23:48:44 +03:00
Update test_perimeters.cpp
This commit is contained in:
@@ -74,7 +74,7 @@ SCENARIO("Perimeter nesting", "[Perimeters]")
|
||||
upper_layer_polygons_cache,
|
||||
lower_layer_polygons_cache,
|
||||
// output:
|
||||
loops, gap_fill, fill_expolygons,fill_expolygons_no_overlap);
|
||||
loops, gap_fill, fill_expolygons,fill_expolygons_no_overlap,0);
|
||||
|
||||
THEN("expected number of collections") {
|
||||
REQUIRE(loops.entities.size() == data.expolygons.size());
|
||||
@@ -105,7 +105,7 @@ SCENARIO("Perimeter nesting", "[Perimeters]")
|
||||
[](const ExtrusionEntity *ee){ return dynamic_cast<const ExtrusionLoop*>(ee)->polygon().is_counter_clockwise(); });
|
||||
REQUIRE(ccw == data.ccw);
|
||||
}
|
||||
THEN("expected ccw/cw order") {
|
||||
THEN("expected ccw/cw order") {1
|
||||
std::vector<bool> ccw_order;
|
||||
for (auto *ee : loops.entities)
|
||||
ccw_order.emplace_back(dynamic_cast<const ExtrusionLoop*>(ee)->polygon().is_counter_clockwise());
|
||||
|
||||
Reference in New Issue
Block a user