From 74fee6ef78d0e48114451edaee52f56555f911c6 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Tue, 14 May 2019 15:35:54 +0200 Subject: [PATCH] Fix of unit tests after change of default nozzle and filament diameter. --- t/flow.t | 2 ++ t/shells.t | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/t/flow.t b/t/flow.t index 2fa0d8f10..4a6162d84 100644 --- a/t/flow.t +++ b/t/flow.t @@ -22,6 +22,8 @@ use Slic3r::Test; $config->set('bottom_solid_layers', 1); $config->set('first_layer_extrusion_width', 2); $config->set('first_layer_height', '100%'); + $config->set('filament_diameter', 3.0); + $config->set('nozzle_diameter', 0.5); my $print = Slic3r::Test::init_print('20mm_cube', config => $config); my @E_per_mm = (); diff --git a/t/shells.t b/t/shells.t index eac95aa32..bdd9c65bf 100644 --- a/t/shells.t +++ b/t/shells.t @@ -148,7 +148,9 @@ use Slic3r::Test; $config->set('solid_infill_speed', 99); $config->set('top_solid_infill_speed', 99); $config->set('bridge_speed', 99); - + $config->set('filament_diameter', 3.0); + $config->set('nozzle_diameter', 0.5); + my $print = Slic3r::Test::init_print('sloping_hole', config => $config); my %solid_layers = (); # Z => 1 Slic3r::GCode::Reader->new->parse(Slic3r::Test::gcode($print), sub {