about summary refs log tree commit diff
path: root/test/ppmtoppm.test
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2021-12-13 00:08:51 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2021-12-13 00:08:51 +0000
commita5d06d531c80a96a4041f8f19bdf89b847f71e80 (patch)
treeae8dafc409a0d8a88edae4fcec8b00298f3a8835 /test/ppmtoppm.test
parentb62eff9e0c76dcdab094bf9fe32355c543ea909f (diff)
downloadnetpbm-mirror-a5d06d531c80a96a4041f8f19bdf89b847f71e80.tar.gz
netpbm-mirror-a5d06d531c80a96a4041f8f19bdf89b847f71e80.tar.xz
netpbm-mirror-a5d06d531c80a96a4041f8f19bdf89b847f71e80.zip
miscellaneous test updates
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4201 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/ppmtoppm.test')
-rwxr-xr-xtest/ppmtoppm.test13
1 files changed, 11 insertions, 2 deletions
diff --git a/test/ppmtoppm.test b/test/ppmtoppm.test
index 797c733d..411c17f6 100755
--- a/test/ppmtoppm.test
+++ b/test/ppmtoppm.test
@@ -1,6 +1,15 @@
 #! /bin/bash
 # This script tests: ppmtoppm
-# Also requires:
+# Also requires: pbmmake pgmramp
 
+echo "Test 1.  Should print a simple 4 x 3 pattern"
+pbmmake -g 4 3 | ppmtoppm -plain
 
-ppmtoppm < testgrid.pbm | cksum
+echo "Test 2.  Should print a simple 6 x 8 pattern"
+pgmramp -diagonal -maxval=5 6 8 | ppmtoppm -plain
+
+echo "Test 3.  Should print 669206373 10102"
+ppmtoppm < maze.pbm | cksum
+
+echo "Test 4.  Should print 1926073387 101484"
+ppmtoppm < testimg.ppm | cksum
\ No newline at end of file