2013-07-06 13:26:32 +00:00
|
|
|
#!/usr/bin/perl
|
|
|
|
|
|
|
|
use strict;
|
|
|
|
use warnings;
|
|
|
|
|
|
|
|
use Slic3r::XS;
|
2013-07-07 11:34:55 +00:00
|
|
|
use Test::More tests => 2;
|
2013-07-06 13:26:32 +00:00
|
|
|
|
|
|
|
my $point = Slic3r::Point::XS->new(10, 15);
|
|
|
|
is_deeply [ @$point ], [10, 15], 'point roundtrip';
|
|
|
|
|
2013-07-07 11:34:55 +00:00
|
|
|
isa_ok $point->arrayref, 'Slic3r::Point', 'Perl point is blessed';
|
|
|
|
|
2013-07-06 13:26:32 +00:00
|
|
|
__END__
|