mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-09 06:45:25 -06:00
No tests were covering randomize-start, which was not working anymore after recent ExtrusionLoop refactoring. #2028
This commit is contained in:
parent
47940a712d
commit
69002b8ea2
12 changed files with 87 additions and 37 deletions
|
@ -1,4 +1,4 @@
|
|||
use Test::More tests => 9;
|
||||
use Test::More tests => 10;
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
|
@ -265,4 +265,11 @@ use Slic3r::Test;
|
|||
'overhangs printed with bridge speed';
|
||||
}
|
||||
|
||||
{
|
||||
my $config = Slic3r::Config->new_from_defaults;
|
||||
$config->set('randomize_start', 1);
|
||||
my $print = Slic3r::Test::init_print('20mm_cube', config => $config);
|
||||
ok Slic3r::Test::gcode($print), 'successful generation of G-code with randomize_start option';
|
||||
}
|
||||
|
||||
__END__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue