Adding test cases from grid chl
[occt.git] / tests / bugs / vis / bug155_1
CommitLineData
a87752f3 1puts "========"
2puts "OCC155"
3puts "OCC190"
4puts "========"
5puts ""
6#####################################
7##puts "Creating of Vertexes 2D"
8##puts "(visual checking for this case is desirable)"
9#####################################
10v2dinit
11
12vertex v_v 0 0 0
13vertex v_v1 100 100 0
14v2ddisplay v_v
15v2ddisplay v_v1
16v2dfit
17
18set color [QAAISGetPixelColor2d 405 7]
19regexp {RED +: +([-0-9.+eE]+)} $color full rd
20regexp {GREEN +: +([-0-9.+eE]+)} $color full gr
21regexp {BLUE +: +([-0-9.+eE]+)} $color full bl
22
23if { ${rd} != 1 || ${gr} != 1 || ${bl} != 0 } {
24 puts "Error : colors are not equal"
25 puts "Error : Vertexes 2D were NOT LOADED properly"
26}
27
28set only_screen2d 1