mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 00:52:04 +00:00
Fix various typos in source documentation (#11553)
* Fix various typos in source documentation * Delete cmake/modules/Catch2/CatchAddTests.cmake * Delete tests/example/example_tests_main.cpp * Revert test_config.cpp --------- Co-authored-by: Ian Bassi <ian.bassi@outlook.com>
This commit is contained in:
@@ -170,7 +170,7 @@ TEST_CASE("Bounding boxes are scaled appropriately", "[Geometry]"){
|
||||
}
|
||||
|
||||
|
||||
TEST_CASE("Offseting a line generates a polygon correctly", "[Geometry]"){
|
||||
TEST_CASE("Offsetting a line generates a polygon correctly", "[Geometry]"){
|
||||
Slic3r::Polyline tmp = { Point(10,10), Point(20,10) };
|
||||
Slic3r::Polygon area = offset(tmp,5).at(0);
|
||||
REQUIRE(area.area() == Slic3r::Polygon(Points({Point(10,5),Point(20,5),Point(20,15),Point(10,15)})).area());
|
||||
|
||||
Reference in New Issue
Block a user