mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
Fix / improvement of unit tests.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
using namespace Slic3r;
|
||||
|
||||
#define TESTS_EXPORT_SVGS
|
||||
// #define TESTS_EXPORT_SVGS
|
||||
|
||||
SCENARIO("Constant offset", "[ClipperUtils]") {
|
||||
coord_t s = 1000000;
|
||||
|
||||
@@ -25,7 +25,7 @@ Slic3r::Points collinear_circle({
|
||||
Slic3r::Point::new_scale(-5, 0)
|
||||
});
|
||||
|
||||
SCENARIO("Remove collinear points from Polygon") {
|
||||
SCENARIO("Remove collinear points from Polygon", "[Polygon]") {
|
||||
GIVEN("Polygon with collinear points"){
|
||||
Slic3r::Polygon p(collinear_circle);
|
||||
WHEN("collinear points are removed") {
|
||||
|
||||
Reference in New Issue
Block a user