about summary refs log tree commit diff
path: root/test/pnmcrop1.ok
blob: 35852c8cb34df439f70649c9a13e85a0d1c31342 (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 (no output)
Expected failure:  -reportfull -borderfile=testgrid.pbm (no output)
Expected failure:  -reportsize -borderfile=testgrid.pbm (no output)
Expected failure:  -black -white (no output)
Expected failure:  -black -sides (no output)
Expected failure:  -white -bg-color=red (no output)
Expected failure:  -white -bg-corner=topleft (no output)
Expected failure:  -white -bg-corner=top (no output)
Expected failure:  -blank-image=pasturize (no output)
Expected failure:  -bg-color=black -closeness=-1 (no output)
Expected failure:  -bg-color=black -closeness=101 (no output)