mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Group test targets into logical "tests" directory. Disable DJDHeuristic
This commit is contained in:
parent
cdc9fb0d8f
commit
05431c0e6d
6 changed files with 11 additions and 4 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
#include <fstream>
|
||||
|
||||
|
||||
#include <libnest2d/libnest2d.hpp>
|
||||
#include "printer_parts.hpp"
|
||||
//#include <libnest2d/geometry_traits_nfp.hpp>
|
||||
|
@ -371,7 +372,7 @@ TEST_CASE("ArrangeRectanglesTight", "[Nesting]")
|
|||
REQUIRE(getX(bin.center()) == 105);
|
||||
REQUIRE(getY(bin.center()) == 125);
|
||||
|
||||
_Nester<BottomLeftPlacer, DJDHeuristic> arrange(bin);
|
||||
_Nester<BottomLeftPlacer, FirstFitSelection> arrange(bin);
|
||||
|
||||
arrange.execute(rects.begin(), rects.end());
|
||||
|
||||
|
@ -439,7 +440,7 @@ TEST_CASE("ArrangeRectanglesLoose", "[Nesting]")
|
|||
|
||||
Coord min_obj_distance = 5;
|
||||
|
||||
_Nester<BottomLeftPlacer, DJDHeuristic> arrange(bin, min_obj_distance);
|
||||
_Nester<BottomLeftPlacer, FirstFitSelection> arrange(bin, min_obj_distance);
|
||||
|
||||
arrange.execute(rects.begin(), rects.end());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue