0029528: Visualization, TKOpenGl - allow defining sRGB textures
[occt.git] / tests / bugs / moddata_1 / bug22489_2
CommitLineData
3bea4c16 1puts "================"
2puts "OCC22489"
3puts "================"
4puts ""
5#######################################################################
6# BRepClass3d_SolidClassifier::PerformInfinitePoint() gives wrong result on the given solid
7#######################################################################
8
9set BugNumber OCC22489
10
11restore [locate_data_file bug22489_sew1.brep] s
12
7868210d 13shape b So
14add s b
3bea4c16 15
16point p 1000 1000 1000
17
18set res [split [bclassify b p] ]
19
20set ll [llength ${res}]
21if {$ll < 4} {
22 puts "Bad format of bclassify draw-command; Faulty ${BugNumber}"
23} else {
24 if {[regexp {The point is OUT of shape} $res]} {
25 puts "OK ${BugNumber}"
26 } else {
27 puts "Faulty ${BugNumber}"
28 }
29}
30