avoid_crossing_perimeters.t 549 B

12345678910111213141516171819202122
  1. use Test::More tests => 1;
  2. use strict;
  3. use warnings;
  4. BEGIN {
  5. use FindBin;
  6. use lib "$FindBin::Bin/../lib";
  7. use local::lib "$FindBin::Bin/../local-lib";
  8. }
  9. use List::Util qw(first sum);
  10. use Slic3r;
  11. use Slic3r::Test;
  12. {
  13. my $config = Slic3r::Config->new_from_defaults;
  14. $config->set('avoid_crossing_perimeters', 2);
  15. my $print = Slic3r::Test::init_print('20mm_cube', config => $config, duplicate => 2);
  16. ok my $gcode = Slic3r::Test::gcode($print), "no crash with avoid_crossing_perimeters and multiple objects";
  17. }
  18. __END__