about summary refs log tree commit diff
path: root/test/pnmcrop1.ok
blob: d979d2db702dcf3d2ac38b21460381806e51d9d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
Test 1
file: maze.pbm option: 
0 0 -7 0 71 68 rgb-1:1/1/1 0.000000
file: maze.pbm option: -white
0 0 -7 0 71 68 rgb-1:1/1/1 0.000000
file: maze.pbm option: -black
0 0 0 -2 71 73 rgb-1:0/0/0 0.000000
file: maze.pbm option: -sides
0 0 -7 0 71 68 rgb-1:1/1/1 0.000000
file: maze.pbm option: -top
0 0 -7 0 71 68 rgb-1:1/1/1 0.000000
file: maze.pbm option: -bottom
0 0 0 0 71 75 rgb-1:1/1/1 0.000000
file: maze.pbm option: -left
0 0 0 0 71 75 rgb-1:1/1/1 0.000000
file: maze.pbm option: -right
0 0 0 0 71 75 rgb-1:1/1/1 0.000000
file: maze.pbm option: -top -bottom
0 0 -7 0 71 68 rgb-1:1/1/1 0.000000
file: maze.pbm option: -bottom -bg-corner=bottomright
0 0 0 -2 71 73 rgb-1:0/0/0 0.000000
file: maze.pbm option: -right -bg-corner=bottomright
0 0 0 0 71 75 rgb-1:0/0/0 0.000000
file: maze.pbm option: -bg-color=white
0 0 0 0 71 75 rgb-1:1/1/1 0.000000
file: maze.pbm option: -bg-color=black
0 0 0 -2 71 73 rgb-1:0/0/0 0.000000
file: maze.pbm option: -bg-color=red
0 0 0 0 71 75 rgb-1:0/0/0 0.000000
file: rose.ppm option: 
0 0 0 0 250 161 rgb-255:127/127/127 0.000000
file: rose.ppm option: -white
-6 0 0 0 244 161 rgb-255:255/255/255 0.000000
file: rose.ppm option: -black
0 -11 0 0 239 161 rgb-255:0/0/0 0.000000
file: rose.ppm option: -sides
-6 0 0 0 244 161 rgb-255:255/255/255 0.000000
file: rose.ppm option: -top
0 0 0 0 250 161 rgb-255:127/127/127 0.000000
file: rose.ppm option: -bottom
0 0 0 0 250 161 rgb-255:127/127/127 0.000000
file: rose.ppm option: -left
0 0 0 0 250 161 rgb-255:127/127/127 0.000000
file: rose.ppm option: -right
0 0 0 0 250 161 rgb-255:127/127/127 0.000000
file: rose.ppm option: -top -bottom
0 0 0 0 250 161 rgb-255:127/127/127 0.000000
file: rose.ppm option: -bottom -bg-corner=bottomright
0 0 0 0 250 161 rgb-255:0/0/0 0.000000
file: rose.ppm option: -right -bg-corner=bottomright
0 -11 0 0 239 161 rgb-255:0/0/0 0.000000
file: rose.ppm option: -bg-color=white
-6 0 0 0 244 161 rgb-255:255/255/255 0.000000
file: rose.ppm option: -bg-color=black
0 -11 0 0 239 161 rgb-255:0/0/0 0.000000
file: rose.ppm option: -bg-color=red
0 0 0 0 250 161 rgb-255:255/0/0 0.000000
Test 2.  Should print 0 six times
file: maze.pbm option:
0
file: maze.pbm option: -white
0
file: maze.pbm option: -top
0
file: rose.ppm option:
0
file: rose.ppm option: -white
0
file: rose.ppm option: -top
0
Test Invalid
Expected failure:  -reportfull -reportsize 1
Expected failure:  -reportfull -borderfile=testgrid.pbm 1
Expected failure:  -reportsize -borderfile=testgrid.pbm 1
Expected failure:  -black -white 1
Expected failure:  -black -sides 1
Expected failure:  -white -bg-color=red 1
Expected failure:  -white -bg-corner=topleft 1
Expected failure:  -white -bg-corner=top 1
Expected failure:  -blank-image=pasturize 1
Expected failure:  -bg-color=black -closeness=-1 1
Expected failure:  -bg-color=black -closeness=101 1