1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/modalg_2/bug23031
aml 32b6a53fd8 0024398: Output of extrema draw-command has various format on optimise and debug modes
Fixed creation of extrema curve in debug mode.
Deleted space between ";" and "V" in debug output to make "llength" DRAW funcion work correctly in debug mode.
Deleted TODOs in tests/bugs/modalg_5/bug24327
Deleted TODOs in test cases with improvement in extrema output. Increased cpulimit in de, boolean and perf.
2013-11-28 11:26:32 +04:00

29 lines
583 B
Plaintext
Executable File

puts "========"
puts "OCC23031"
puts "========"
puts ""
###########################################################
# Empty result for the extrema between a circle and a line.
###########################################################
set BugNumber OCC23031
restore [locate_data_file OCC23031-b1.brep] b1
restore [locate_data_file OCC23031-b2.brep] b2
mkcurve c1 b1
mkcurve c2 b2
set extrema_res [extrema c1 c2]
set extrema_length [llength ${extrema_res} ]
if {${extrema_length} != 1 } {
puts "${BugNumber}: Faulty"
} else {
puts "${BugNumber}: OK"
}
set 3dviewer 0