0028599: Replacement of old Boolean operations with new ones in BRepProj_Projection...
[occt.git] / tests / bugs / moddata_3 / bug23511
1 puts "================"
2 puts "OCC23511"
3 puts "================"
4 puts ""
5 #########################################################################
6 # The function BRepTools::UVBounds provides incorrect result for a face
7 #########################################################################
8
9 restore [locate_data_file bug23511_f1] result
10
11 set info [xbounds result]
12
13 set 2PI [expr 2 * 3.142]
14 foreach bound ${info} {
15   puts "bound = ${bound}"
16   if { ${bound} < 0 || ${bound} > ${2PI} } {
17     puts "Error : bad bound ${bound}"
18   }
19 }
20
21 checkview -display result -2d -path ${imagedir}/${test_image}.png