* Renamed enum classes members to lowercaseCapword
* Moved struct ShapeHasher back to TopoShapeMapper.h
* Added test for MapperMaker::generated
* Modifications for clang-tidy warnings
* Formatting
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
* Added test for MapperMaker::generated
* Renamed spit into splitMkr in the test for MapperMaker::modified
* Disabled test for TopoShape::makeElementWires
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
* Added test for Tag Info generated by makeShapeWithElementMap
* Make sure that there's at least one mapped element before checking the element map
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
* Tests for makeShapeWithElementMap
* Added nullShapesThrows tests for the classes derived from <TopoDS_Shape>
* Added test passing as "sources" parameter of the tested method an empty vector of TopoShapes objects
* Added test with unmappable sources
* Added test to find shapes inside other shapes made from the first ones
* Tests for makeShapeWithElementMap with simple shapes
* Added test to find source shapes' sub-shapes name in the elements maps
* Added test to find the "MAK" OpCode in the elements maps names
---------
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
* Tweak resetElementMap tp default to empty defined element map
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This verifies the existing functionality, but does not alter it. Two tests are disabled because they represent cases that the current code does not handle correctly. They are edge cases that are not expected in real code.
* 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>