diff options
Diffstat (limited to 'src/test/libslic3r/test_print.cpp')
-rw-r--r-- | src/test/libslic3r/test_print.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/libslic3r/test_print.cpp b/src/test/libslic3r/test_print.cpp index 5aef41384..27f1fb199 100644 --- a/src/test/libslic3r/test_print.cpp +++ b/src/test/libslic3r/test_print.cpp @@ -5,6 +5,7 @@ #include <string> #include "../test_data.hpp" #include "../../libslic3r/libslic3r.h" +#include "../../libslic3r/SVG.hpp" using namespace Slic3r::Test; using namespace Slic3r; @@ -78,6 +79,13 @@ SCENARIO("Print: Brim generation") { Print print{}; Slic3r::Test::init_print(print, { m }, model, config); print.process(); + //{ + // std::stringstream stri; + // stri << "20mm_cube_brim_test_" << ".svg"; + // SVG svg(stri.str()); + // svg.draw(print.brim().as_polylines(), "red"); + // svg.Close(); + //} THEN("Brim Extrusion collection has 3 loops in it") { REQUIRE(print.brim().items_count() == 3); } |