1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00
occt/tests/bugs/moddata_2/pro19422_2
omy 5a77460e4a 0023901: Memory leaks in tests.
1. Removed cyclic reference. Removed field myCommonBlock from BOPDS_PaveBlock;
2. Added data map myMapPBCB in BOPDS_DS. It contains pairs (PaveBlock, CommonBlock);
3. All methods about common block have been shifted from BOPDS_PaveBlock to BOPDS_DS;
4. Test case bugs moddata_2 pro19422_2 has been rewritten to build the correct result.
Test case corrected (TODO removed)
2013-05-23 12:02:14 +04:00

21 lines
543 B
Plaintext
Executable File

puts "=========="
puts "PRO19422"
puts "=========="
puts ""
#############################################################
## Errors when cutting, 2 cases in /dp_25/IBug/pro/19422 files o1 t1 and o2 t2, restore.
## cut c1 o1 t1 fails. cut c2 o2 t2 fails
#############################################################
restore [locate_data_file pro19422c.brep] shape
checkshape shape
restore [locate_data_file pro19422d.brep] tool
checkshape tool
explode tool
bfuse tool tool_1 tool_2
bcut result shape tool
set square 2282.26
set 2dviewer 0