463c4286eb7a55482caf81b88a1d4ce555349a73
[occt.git] / tests / bugs / moddata_1 / bug15570
1 puts "==========="
2 puts "OCC15570"
3 puts "==========="
4
5 set BugNumber OCC15570
6
7 ######################################################
8 # Incorrect handling of Unicode strings
9 ######################################################
10
11 pload XDE
12
13 igesbrep [locate_data_file OCC15570.igs] a *
14 tpcompound result
15
16 set BoundList [boundingstr result]
17 set xmin [lindex ${BoundList} 0]
18 set ymin [lindex ${BoundList} 1]
19 set zmin [lindex ${BoundList} 2]
20 set xmax [lindex ${BoundList} 3]
21 set ymax [lindex ${BoundList} 4]
22 set zmax [lindex ${BoundList} 5]
23
24 checkreal "xmin" ${xmin} -22.500000100000001 0 0.001
25 checkreal "ymin" ${ymin} -88.366946209482094 0 0.001
26 checkreal "zmin" ${zmin} -1.0000002775557561e-07 0 0.001
27 checkreal "xmax" ${xmax} 22.500000100000001 0 0.001
28 checkreal "ymax" ${ymax} 22.776076069021901 0 0.001
29 checkreal "zmax" ${zmax} 86.12676222997429 0 0.001
30
31 checkview -display result -2d -path ${imagedir}/${test_image}.png