Commit Graph

10 Commits

Author SHA1 Message Date
bgbsww
6e9cd051f2 Toponaming/Part: Cleanup and test makeElementDraft 2024-02-14 12:20:10 -05:00
Chris Hennes
e24ed34867 Tests/Toponaming: Post-merge cleanup 2024-01-27 14:01:35 -06:00
bgbsww
eb7c658a06 Add helper methods 2024-01-26 17:42:51 -07:00
bgbsww
d4c5906c5c Add tests, reformat to modern C++, clean 2024-01-21 15:34:46 -05:00
bgbsww
e166c8ccfd Adding additional TNP tests (#11829)
* Initial tests for Chamfer, Fillet, Compound

* Lint cleanup, new tests

* Outline of Extrusion and Revolution

* Use python to define a 2d object to extrude and test

* Refactor; start filling in revolution tests

* Example of parameterized tests in Extrusion, cleanups

* Use gtest framework for parameterised tests

* Rearrange for clarity

* WIP with TEST_P use for posterity

* Switch from parameters to individual tests

* Guess at test failures on other platforms

* Cleanups and Revolution Tests

* Remove temp code

* Switch Revolutions to boundbox test; add Compound subshape count test

* Calculate test volume correctly; lint fixes

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-01-06 18:25:44 -06:00
bgbsww
50d7547630 Be clearer about minimal distance magic numbers 2023-12-23 06:54:43 -05:00
pre-commit-ci[bot]
e344a2fe42 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-12-23 10:55:30 +00:00
bgbsww
f81ce9d2e1 Cleanups per pesc0 review notes; general code tightening 2023-12-23 05:53:54 -05:00
pre-commit-ci[bot]
906826c1c8 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-12-22 21:17:17 +00:00
bgbsww
cc08b827eb Use inheritance and namespaces to keep tests DRY 2023-12-22 16:16:20 -05:00