0032208: Tests - refactor visualization tests to cover several graphic drivers
[occt.git] / tests / v3d / bugs / bug25251
diff --git a/tests/v3d/bugs/bug25251 b/tests/v3d/bugs/bug25251
new file mode 100644 (file)
index 0000000..3df4d00
--- /dev/null
@@ -0,0 +1,29 @@
+puts "============"
+puts "OCC25251: Visualization - Vertex disappearing from the view after switching display mode"
+puts "============"
+puts ""
+
+set check_x 204
+set check_y 204
+
+set x 100
+set y 100
+
+pload MODELING VISUALIZATION
+vinit View1
+
+vertex v 0 0 0
+vdisplay v
+checkcolor ${check_x} ${check_y} 1 1 0
+
+vmoveto ${check_x} ${check_y}
+checkcolor ${check_x} ${check_y} 0 1 1
+
+vsetdispmode 1
+vmoveto ${check_x} ${check_y}
+checkcolor ${check_x} ${check_y} 1 1 0
+
+vmoveto ${x} ${y}
+checkcolor ${check_x} ${check_y} 1 1 0
+
+vdump ${imagedir}/${casename}.png