Ported remove_collinear(Polygon) and test_polygon from upstream slic3r.

This commit is contained in:
bubnikv 2019-10-15 18:08:32 +02:00
parent de45be5f29
commit abe856f9fe
5 changed files with 90 additions and 2 deletions

View file

@ -2,6 +2,7 @@ get_filename_component(_TEST_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)
add_executable(${_TEST_NAME}_tests
${_TEST_NAME}_tests.cpp
test_geometry.cpp
test_polygon.cpp
)
target_link_libraries(${_TEST_NAME}_tests test_common libslic3r)
set_property(TARGET ${_TEST_NAME}_tests PROPERTY FOLDER "tests")