2015-07-01 18:15:52 +00:00
|
|
|
use Test::More tests => 1;
|
2014-02-09 22:14:32 +00:00
|
|
|
use strict;
|
|
|
|
use warnings;
|
|
|
|
|
|
|
|
BEGIN {
|
|
|
|
use FindBin;
|
|
|
|
use lib "$FindBin::Bin/../lib";
|
2017-08-18 07:58:50 +00:00
|
|
|
use local::lib "$FindBin::Bin/../local-lib";
|
2014-02-09 22:14:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
use Slic3r;
|
|
|
|
use Slic3r::Test;
|
|
|
|
|
2014-02-13 17:42:15 +00:00
|
|
|
{
|
2017-10-27 16:52:35 +00:00
|
|
|
my $config = Slic3r::Config::new_from_defaults;
|
2014-02-13 17:42:15 +00:00
|
|
|
$config->set('perimeter_extrusion_width', '250%');
|
|
|
|
ok $config->validate, 'percent extrusion width is validated';
|
|
|
|
}
|
|
|
|
|
2014-02-09 22:14:32 +00:00
|
|
|
__END__
|