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:
luzpaz 2026-01-21 07:19:25 -05:00 committed by GitHub
parent 4c90144b98
commit a036de042b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 33 additions and 33 deletions

View file

@ -37,7 +37,7 @@ enum class TestMesh {
two_hollow_squares
};
// Neccessary for <c++17
// Necessary for <c++17
struct TestMeshHash {
std::size_t operator()(TestMesh tm) const {
return static_cast<std::size_t>(tm);

View file

@ -139,7 +139,7 @@ TEST_CASE("Fill: Pattern Path Length", "[Fill]") {
}
}
#if 0 // Disabled temporarily due to precission issues on the Mac VM
#if 0 // Disabled temporarily due to precision issues on the Mac VM
SECTION("Solid surface fill") {
Slic3r::Points points {
Point::new_scale(6883102, 9598327.01296997),

View file

@ -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());

View file

@ -225,7 +225,7 @@ TEST_CASE("Reduce one edge by Quadric Edge Collapse", "[its]")
Vec3f(0.9f, .1f, -.1f)};
its.indices = {Vec3i32(1, 0, 3), Vec3i32(2, 1, 3), Vec3i32(0, 2, 3),
Vec3i32(0, 1, 4), Vec3i32(1, 2, 4), Vec3i32(2, 0, 4)};
// edge to remove is between vertices 2 and 4 on trinagles 4 and 5
// edge to remove is between vertices 2 and 4 on triangles 4 and 5
indexed_triangle_set its_ = its; // copy
// its_write_obj(its, "tetrhedron_in.obj");