Commit Graph

11 Commits

Author SHA1 Message Date
bgbsww
d405fdadc4 Add tests, reformat to modern C++, clean 2024-01-21 15:34:46 -05:00
bgbsww
f2c9d1e409 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
pre-commit-ci[bot]
9192a30a93 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-12-25 22:45:02 +00:00
bgbsww
00a9b3261e More delinting 2023-12-25 17:44:06 -05:00
bgbsww
35b853deb5 Remote experimental PrintTo that doesn't work. 2023-12-24 17:34:19 -05:00
bgbsww
66f5f243d8 Missed cleanup 2023-12-23 08:20:34 -05:00
bgbsww
b8ac7f833e Be clearer about minimal distance magic numbers 2023-12-23 06:54:43 -05:00
pre-commit-ci[bot]
abf7fb0791 [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
619d2c970f Cleanups per pesc0 review notes; general code tightening 2023-12-23 05:53:54 -05:00
pre-commit-ci[bot]
5d48014999 [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
d75b158dcf Use inheritance and namespaces to keep tests DRY 2023-12-22 16:16:20 -05:00