Commit Graph

8 Commits

Author SHA1 Message Date
bgbsww
d7f14d3df5 Bring in = operator, resetMap and flushMap overrides, and fix affected tests 2024-02-21 12:13:16 -05:00
CalligaroV
d23b288faf Tests/Toponaming: Add test for simple shapes
* 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>
2024-02-01 15:19:42 +01:00
Chris Hennes
e24ed34867 Tests/Toponaming: Post-merge cleanup 2024-01-27 14:01:35 -06:00
bgbsww
88b5191b5e Cleaned up complex test (#15)
* Element Map Test

* Rename test and add more assertions

* Reduce test complexity
2024-01-27 12:00:12 -06:00
Vincenzo Calligaro
2e98912266 Tests for makeShapeWithElementMap (#12)
* 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>
2024-01-27 12:00:12 -06:00
bgbsww
5135564fb4 Rename test and add more assertions 2024-01-27 12:00:12 -06:00
bgbsww
43f4db445a Element Map Test 2024-01-27 12:00:12 -06:00
Chris Hennes
f91d39bac3 Tests/Toponaming: Add test framework for makeShapeWithElementMap 2024-01-27 12:00:12 -06:00