A few improvements to gcode placeholder tests.

This commit is contained in:
Y. Sapir 2014-05-15 01:42:30 +03:00
parent 97231327e0
commit 09357e5868
2 changed files with 7 additions and 6 deletions

View file

@ -1,4 +1,4 @@
use Test::More tests => 5;
use Test::More tests => 6;
use strict;
use warnings;
@ -40,6 +40,7 @@ use Slic3r::Test;
# user sets a per-region option
$print->print->objects->[0]->model_object->config->set('fill_density', 100);
$print->print->reload_object(0);
is $print->print->regions->[0]->config->fill_density, 100, 'region config inherits model object config';
# user exports G-code, thus the default config is reapplied
$print->print->apply_config($config);