Skip to content

Commit

Permalink
wall computation test with extra argument
Browse files Browse the repository at this point in the history
  • Loading branch information
saumyaj3 committed Jan 5, 2024
1 parent f46e3fa commit 8ac79d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/WallsComputationTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ TEST_F(WallsComputationTest, GenerateWallsZeroWalls)
TEST_F(WallsComputationTest, WallToolPathsGetWeakOrder)
{
settings.add("wall_line_count", "5");
coord_t line_width = 400;
SliceLayer layer;
layer.parts.emplace_back();
SliceLayerPart& part = layer.parts.back();
Expand All @@ -158,7 +159,7 @@ TEST_F(WallsComputationTest, WallToolPathsGetWeakOrder)
{
all_paths.emplace_back(line);
}
auto order = InsetOrderOptimizer::getRegionOrder(all_paths, outer_to_inner);
auto order = InsetOrderOptimizer::getRegionOrder(all_paths, outer_to_inner, line_width);

// Verify that something was generated.
EXPECT_FALSE(part.wall_toolpaths.empty()) << "There must be some walls.";
Expand Down

0 comments on commit 8ac79d1

Please sign in to comment.