Update source code
[occt.git] / tests / bugs / modalg_5 / bug23952_2
CommitLineData
1ef32e96
RL
1puts "================"
2puts "OCC23952"
3puts "================"
4puts ""
5###########################################################################################
6# Improving thread-safety of intersections, approximations and other modeling algorithms
7###########################################################################################
8
9pload QAcommands
10restore [locate_data_file bug23952_s1.draw] a
11restore [locate_data_file bug23952_s2.draw] b
12
13set NbLines 5
14set info [OCC23952intersect $NbLines a b]
15
16if { [regexp "theNbSol: OK" $info] != 1 } {
17 puts "Error : Number of intersections is incorrect"
18} else {
19 puts "OK: Number of intersections is correct"
20}
21