0027691: Remove dchrono from all test cases and move its to perf group
[occt.git] / tests / perf / modalg / bug24005
diff --git a/tests/perf/modalg/bug24005 b/tests/perf/modalg/bug24005
new file mode 100644 (file)
index 0000000..b6aad5d
--- /dev/null
@@ -0,0 +1,23 @@
+puts "============"
+puts "OCC24005"
+puts "============"
+puts ""
+###############################
+## Intersecting a slightly off angle plane with a cylinder takes 7+ seconds
+###############################
+
+pload QAcommands
+
+dchrono h restart
+
+OCC24005 result
+
+dchrono h stop counter OCC24005
+
+if { [regexp {Ellipse} [dump result]] == 1 } {
+    puts "result is OK"
+} else {
+    puts "result is Faulty"
+}
+
+checkview -display result -2d -path ${imagedir}/${test_image}.png