mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-10 07:15:08 -06:00
Bless arrayref representation into Slic3r classes
This commit is contained in:
parent
53e4532f9c
commit
989e48ede0
5 changed files with 11 additions and 5 deletions
|
@ -4,9 +4,11 @@ use strict;
|
|||
use warnings;
|
||||
|
||||
use Slic3r::XS;
|
||||
use Test::More tests => 1;
|
||||
use Test::More tests => 2;
|
||||
|
||||
my $point = Slic3r::Point::XS->new(10, 15);
|
||||
is_deeply [ @$point ], [10, 15], 'point roundtrip';
|
||||
|
||||
isa_ok $point->arrayref, 'Slic3r::Point', 'Perl point is blessed';
|
||||
|
||||
__END__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue