about summary refs log tree commit diff
path: root/test/pnmcrop1.ok
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2023-06-28 17:29:32 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2023-06-28 17:29:32 +0000
commit23ce26f64c34e30951ad9ade2151552ed77e7357 (patch)
treed73b31a0c2f7c7be4a69f8a8e84e00dd39c432b5 /test/pnmcrop1.ok
parent1b6e51a266008348ad93ed8b6ac9ec91b5024fea (diff)
downloadnetpbm-mirror-23ce26f64c34e30951ad9ade2151552ed77e7357.tar.gz
netpbm-mirror-23ce26f64c34e30951ad9ade2151552ed77e7357.tar.xz
netpbm-mirror-23ce26f64c34e30951ad9ade2151552ed77e7357.zip
promote Advanced to Stable
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@4558 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/pnmcrop1.ok')
-rw-r--r--test/pnmcrop1.ok82
1 files changed, 82 insertions, 0 deletions
diff --git a/test/pnmcrop1.ok b/test/pnmcrop1.ok
new file mode 100644
index 00000000..d979d2db
--- /dev/null
+++ b/test/pnmcrop1.ok
@@ -0,0 +1,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