Ported get_layer_range() to C

This commit is contained in:
Alessandro Ranellucci 2013-06-23 15:33:07 +02:00
parent ff795f2918
commit 37105e8237
14 changed files with 72 additions and 738 deletions

12
xs/t/02_object.t Normal file
View file

@ -0,0 +1,12 @@
#!/usr/bin/perl
use strict;
use warnings;
use Slic3r::XS;
use Test::More tests => 1;
is_deeply Slic3r::Object::XS::get_layer_range([ 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 ], 39, 69),
[2, 6], 'get_layer_range';
__END__