mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-30 00:22:45 +00:00
Optimizations for better usage of XS code
This commit is contained in:
@@ -4,7 +4,7 @@ use strict;
|
||||
use warnings;
|
||||
|
||||
use Slic3r::XS;
|
||||
use Test::More tests => 4;
|
||||
use Test::More tests => 5;
|
||||
|
||||
my $points = [
|
||||
[100, 100],
|
||||
@@ -24,4 +24,7 @@ is_deeply [ map $_->pp, @$lines ], [
|
||||
[ [200, 100], [200, 200] ],
|
||||
], 'polyline lines';
|
||||
|
||||
$polyline->append_polyline($polyline->clone);
|
||||
is_deeply $polyline->pp, [ @$points, @$points ], 'append_polyline';
|
||||
|
||||
__END__
|
||||
|
||||
Reference in New Issue
Block a user