0023952: Improving thread-safety of intersections, approximations and other modeling...
[occt.git] / tests / bugs / modalg_5 / bug23952_1
diff --git a/tests/bugs/modalg_5/bug23952_1 b/tests/bugs/modalg_5/bug23952_1
new file mode 100644 (file)
index 0000000..05cb212
--- /dev/null
@@ -0,0 +1,19 @@
+puts "================"
+puts "OCC23952"
+puts "================"
+puts ""
+###########################################################################################
+# Improving thread-safety of intersections, approximations and other modeling algorithms
+###########################################################################################
+
+pload QAcommands
+restore [locate_data_file bug23952_trim-torus.draw] a
+
+set NbUPoles 18
+set info [OCC23952sweep $NbUPoles a]
+
+if { [regexp "theTargetNbUPoles: OK" $info] != 1 } {
+    puts "Error : Number of UPoles is incorrect"
+} else {
+    puts "OK: Number of UPoles is correct"
+}