mirror of
https://github.com/QIDITECH/QIDISlicer.git
synced 2026-01-31 16:08:43 +03:00
QIDISlicer1.0.0
This commit is contained in:
16
tests/fff_print/test_avoid_crossing_perimeters.cpp
Normal file
16
tests/fff_print/test_avoid_crossing_perimeters.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#include <catch2/catch.hpp>
|
||||
|
||||
#include "test_data.hpp"
|
||||
|
||||
using namespace Slic3r;
|
||||
|
||||
SCENARIO("Avoid crossing perimeters", "[AvoidCrossingPerimeters]") {
|
||||
WHEN("Two 20mm cubes sliced") {
|
||||
std::string gcode = Slic3r::Test::slice(
|
||||
{ Slic3r::Test::TestMesh::cube_20x20x20, Slic3r::Test::TestMesh::cube_20x20x20 },
|
||||
{ { "avoid_crossing_perimeters", true } });
|
||||
THEN("gcode not empty") {
|
||||
REQUIRE(! gcode.empty());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user