0023562: nbshapes command works incorrect with the attached shapes
[occt.git] / tests / bugs / demo / bug23562_1
diff --git a/tests/bugs/demo/bug23562_1 b/tests/bugs/demo/bug23562_1
new file mode 100755 (executable)
index 0000000..fc2824e
--- /dev/null
@@ -0,0 +1,20 @@
+puts "============"
+puts "CR23562"
+puts "============"
+puts ""
+##########################################################################################################
+# nbshapes command works incorrect with the attached shapes
+##########################################################################################################
+
+restore [locate_data_file bug23562_V3.brep] result
+set nb_info [nbshapes result]
+
+set nb_v_good 25
+set nb_e_good 45
+set nb_w_good 15
+set nb_f_good 15
+set nb_sh_good 1
+set nb_sol_good 1
+set nb_compsol_good 0
+set nb_compound_good 1
+set nb_shape_good 103