Fix / improvement of unit tests.

This commit is contained in:
bubnikv 2019-10-25 19:06:40 +02:00
parent 2e7e95adae
commit 9e8ce66f70
3 changed files with 4 additions and 4 deletions

View file

@ -1,8 +1,8 @@
#ifndef slic3r_SpiralVase_hpp_ #ifndef slic3r_SpiralVase_hpp_
#define slic3r_SpiralVase_hpp_ #define slic3r_SpiralVase_hpp_
#include "libslic3r.h" #include "../libslic3r.h"
#include "GCodeReader.hpp" #include "../GCodeReader.hpp"
namespace Slic3r { namespace Slic3r {

View file

@ -9,7 +9,7 @@
using namespace Slic3r; using namespace Slic3r;
#define TESTS_EXPORT_SVGS // #define TESTS_EXPORT_SVGS
SCENARIO("Constant offset", "[ClipperUtils]") { SCENARIO("Constant offset", "[ClipperUtils]") {
coord_t s = 1000000; coord_t s = 1000000;

View file

@ -25,7 +25,7 @@ Slic3r::Points collinear_circle({
Slic3r::Point::new_scale(-5, 0) Slic3r::Point::new_scale(-5, 0)
}); });
SCENARIO("Remove collinear points from Polygon") { SCENARIO("Remove collinear points from Polygon", "[Polygon]") {
GIVEN("Polygon with collinear points"){ GIVEN("Polygon with collinear points"){
Slic3r::Polygon p(collinear_circle); Slic3r::Polygon p(collinear_circle);
WHEN("collinear points are removed") { WHEN("collinear points are removed") {