mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-08 06:24:01 -06:00
Some tests were failing
This commit is contained in:
parent
02a1b0cdab
commit
7628c83e9f
5 changed files with 64 additions and 65 deletions
12
t/geometry.t
12
t/geometry.t
|
@ -127,12 +127,6 @@ is Slic3r::Geometry::can_connect_points(@$points, $polygons), 0, 'can_connect_po
|
|||
polygon_remove_parallel_continuous_edges($polygon);
|
||||
polygon_remove_acute_vertices($polygon);
|
||||
is scalar(@$polygon), 4, 'polygon_remove_acute_vertices';
|
||||
|
||||
use Slic3r::SVG;
|
||||
#pop @$polygon;
|
||||
Slic3r::SVG::output(undef, "vert.svg",
|
||||
polylines => [$polygon],
|
||||
);
|
||||
}
|
||||
|
||||
#==========================================================
|
||||
|
@ -144,12 +138,6 @@ is Slic3r::Geometry::can_connect_points(@$points, $polygons), 0, 'can_connect_po
|
|||
];
|
||||
polyline_remove_acute_vertices($polygon);
|
||||
is scalar(@$polygon), 6, 'polyline_remove_acute_vertices';
|
||||
use Slic3r::SVG;
|
||||
local $Slic3r::resolution = 0.1;
|
||||
pop @$polygon;
|
||||
Slic3r::SVG::output(undef, "vert2.svg",
|
||||
polylines => [$polygon],
|
||||
);
|
||||
}
|
||||
|
||||
#==========================================================
|
Loading…
Add table
Add a link
Reference in a new issue