Skip to content

Commit

Permalink
Add missing settings
Browse files Browse the repository at this point in the history
  • Loading branch information
casperlamboo committed Oct 19, 2024
1 parent 0591a46 commit 26ef1a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/GCodeExportTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,8 @@ TEST_F(GCodeExportTest, SwitchExtruderSimple)
scene.extruders.emplace_back(0, nullptr);
ExtruderTrain& train1 = scene.extruders.back();

train1.settings_.add("machine_extruder_prestart_code", "");
train1.settings_.add("machine_extruder_change_duration", "0");
train1.settings_.add("machine_extruder_start_code", ";FIRST EXTRUDER START G-CODE!");
train1.settings_.add("machine_extruder_end_code", ";FIRST EXTRUDER END G-CODE!");
train1.settings_.add("machine_extruder_start_code_duration", "0.0");
Expand All @@ -459,6 +461,8 @@ TEST_F(GCodeExportTest, SwitchExtruderSimple)
scene.extruders.emplace_back(1, nullptr);
ExtruderTrain& train2 = scene.extruders.back();

train2.settings_.add("machine_extruder_prestart_code", "");
train2.settings_.add("machine_extruder_change_duration", "0");
train2.settings_.add("machine_extruder_start_code", ";SECOND EXTRUDER START G-CODE!");
train2.settings_.add("machine_extruder_end_code", ";SECOND EXTRUDER END G-CODE!");
train2.settings_.add("machine_extruder_start_code_duration", "0.0");
Expand Down

0 comments on commit 26ef1a1

Please sign in to comment.