5 #################################################
6 # Result of Boolean common depends on an order of arguments
7 #################################################
9 restore [locate_data_file bug26938.brep] a
14 restore [locate_data_file bug26938.brep] a
19 checkview -display res1 -2d -path ${imagedir}/${test_image}_1.png
20 checkview -display res2 -2d -path ${imagedir}/${test_image}_2.png
25 if {[regexp "Faulties" [bopargcheck res1]]} {
26 puts "Error: bopargcheck has found some faulties in res1"
29 if {[regexp "Faulties" [bopargcheck res2]]} {
30 puts "Error: bopargcheck has found some faulties in res2"
33 checkprops res1 -v 4.93528e+008
34 checkprops res2 -v 4.93528e+008
36 set nbshapes_expected "
37 Number of shapes in .*
49 checknbshapes res1 -ref ${nbshapes_expected} -t -m "1st COMMON"
50 checknbshapes res2 -ref ${nbshapes_expected} -t -m "2nd COMMON"