mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-30 08:32:42 +00:00
Ported get_layer_range() to C
This commit is contained in:
12
xs/t/02_object.t
Normal file
12
xs/t/02_object.t
Normal 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__
|
||||
Reference in New Issue
Block a user