0027145: Remove redundant usage of GetPercent procedure
[occt.git] / tests / bugs / fclasses / bug24137
CommitLineData
89d8607f 1puts "================"
2puts "OCC24137"
3puts "================"
4puts ""
5#######################################################################
6# math_FunctionSetRoot returns too rough solution
7#######################################################################
8
9pload QAcommands
10
11vertex v 6.65634 -0.201746 2.51477
12restore [locate_data_file bug24137_face.brep] f
13
14OCC24137 f v 508.326 77.6999
15distmini d v result
16
17regexp {([-0-9.+eE]+)$} [dump d_val] full dist
18set good_dist 0
19set toler 2.0e-06
20if { [expr abs( ${dist} - ${good_dist} )] > ${toler} } {
21 puts "Faulty : the distanse is ${dist}. It is bad value"
22}