PrusaSlicer-NonPlainar/t
Lukas Matena 07282eb24d Fixed unit tests when run with range checks on std::vector
There was a bug in unit tests that led to generating the wipe tower with non-normalized preset.
This caused out-of-bounds access into max_layer_height vector in fill_wipe_tower_partitions.
The problem surfaced in https://github.com/prusa3d/PrusaSlicer/issues/2288.
I quickly patched additional normalization of the preset to prevent this from happening.

Also, an assert in the same function turned out to trip on one of the tests.
This one was commented out for now and will (hopefully) be looked into later.

Function Print::apply_config was renamed to apply_config_perl_tests_only so everyone
sees its current purpose and does not mistake it for the more important Print::apply.
2019-05-22 16:48:20 +02:00
..
angles.t Switched to Perl local::lib for local compilation. 2017-08-18 09:58:50 +02:00
avoid_crossing_perimeters.t Further reduction of Perl Config.pm methods. 2017-10-27 18:52:35 +02:00
bridges.t Further reduction of Perl Config.pm methods. 2017-10-27 18:52:35 +02:00
clean_polylines.t Switched to Perl local::lib for local compilation. 2017-08-18 09:58:50 +02:00
clipper.t Switched to Perl local::lib for local compilation. 2017-08-18 09:58:50 +02:00
collinear.t Switched to Perl local::lib for local compilation. 2017-08-18 09:58:50 +02:00
combineinfill.t Fixed unit tests when run with range checks on std::vector 2019-05-22 16:48:20 +02:00
config.t Further reduction of Perl Config.pm methods. 2017-10-27 18:52:35 +02:00
cooling.t Refactored cooling logic for readibility and maintainability. 2018-04-25 22:54:52 +02:00
custom_gcode.t Added layer_num, layer_z variables to the end_gcode, end_filament_gcode, 2018-05-15 14:04:29 +02:00
dynamic.t Switched to Perl local::lib for local compilation. 2017-08-18 09:58:50 +02:00
fill.t Fixed unit test after splitting the external fill pattern to top/bottom. 2019-02-25 09:11:20 +01:00
flow.t Fix of the previous commit 2019-05-14 15:48:00 +02:00
gaps.t Further reduction of Perl Config.pm methods. 2017-10-27 18:52:35 +02:00
gcode.t Further reduction of Perl Config.pm methods. 2017-10-27 18:52:35 +02:00
geometry.t Switched to Perl local::lib for local compilation. 2017-08-18 09:58:50 +02:00
layers.t Further reduction of Perl Config.pm methods. 2017-10-27 18:52:35 +02:00
loops.t Switched to Perl local::lib for local compilation. 2017-08-18 09:58:50 +02:00
multi.t t tests changed so they don't fail on the extruder number check 2018-03-28 10:16:04 +02:00
perimeters.t Perimeters test modified to skip lines M73 2018-07-13 10:46:30 +02:00
polyclip.t Switched to Perl local::lib for local compilation. 2017-08-18 09:58:50 +02:00
print.t Fixed unit tests when run with range checks on std::vector 2019-05-22 16:48:20 +02:00
retraction.t t tests changed so they don't fail on the extruder number check 2018-03-28 10:16:04 +02:00
shells.t Fix of the previous commit 2019-05-14 15:48:00 +02:00
skirt_brim.t Fixed unit tests when run with range checks on std::vector 2019-05-22 16:48:20 +02:00
slice.t Switched to Perl local::lib for local compilation. 2017-08-18 09:58:50 +02:00
support.t Further reduction of Perl Config.pm methods. 2017-10-27 18:52:35 +02:00
thin.t Further reduction of Perl Config.pm methods. 2017-10-27 18:52:35 +02:00