1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/tests/bugs/modalg_2/bug410_4
ski 1951a27c98 0024863: CLang warnings -Wint-to-void-pointer-cast
Warning was fixed.

Remarks were applied.

- class VMap in Draw was removed
- NCollection_DataMap is used to store objects
- name of object is used to associate Tcl variable with the object
- creation and changing of objects are correclty handled

Redundant casts were removed.

Initial value is restored if variable is protected.
Tests for bug #24863 were added.

Some test cases and tcl command "save" were improved.

Useless using of upvar was removed.
2014-08-07 14:33:28 +04:00

23 lines
392 B
Plaintext
Executable File

puts "========================"
puts " OCC410 "
puts "(case 4)"
puts "========================"
puts ""
restore [locate_data_file f7] b1
checkshape b1
restore [locate_data_file f3] b2
checkshape b2
if [catch {bcut result b2 b1 } res] {
puts "Faulty OCC410: function CUT works wrongly"
} else {
puts " OCC410 OK: function CUT works properly"
}
set square 93.6289
set 2dviewer 0