mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-29 22:22:12 +08:00
Adjust requirement as unlift() won't emit gcode if already there.
This commit is contained in:
parent
b647bc49c8
commit
99f6a5455a
@ -26,7 +26,7 @@ SCENARIO("lift() is not ignored after unlift() at large values of Z", "[!mayfail
|
||||
AND_WHEN("Z is moved post-lift to the same delta as the config Z lift") {
|
||||
REQUIRE(writer.travel_to_z(trouble_Z + config.retract_lift.values[0]).size() == 0);
|
||||
AND_WHEN("GCodeWriter::Lift() is called after GCodeWriter::Unlift()") {
|
||||
REQUIRE(writer.unlift().size() > 0);
|
||||
REQUIRE(writer.unlift().size() == 0); // we're the same height so no additional move happens.
|
||||
THEN("GCodeWriter::Lift() emits gcode.") {
|
||||
REQUIRE(writer.lift().size() > 0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user