diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-12-27 17:33:56 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-12-27 17:33:56 +0000 |
commit | 6e629f983aa205c3eaa5f339f1c71bb5e7938049 (patch) | |
tree | a89f594443ac2330138f0bd0f19ee59135c2213f /test/ppmtoppm.test | |
parent | ec52f41aabc9de9aac203c2f462252e403c7374a (diff) | |
download | netpbm-mirror-6e629f983aa205c3eaa5f339f1c71bb5e7938049.tar.gz netpbm-mirror-6e629f983aa205c3eaa5f339f1c71bb5e7938049.tar.xz netpbm-mirror-6e629f983aa205c3eaa5f339f1c71bb5e7938049.zip |
Promote Development to Advanced to make Release 10.97.00
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@4222 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/ppmtoppm.test')
-rwxr-xr-x | test/ppmtoppm.test | 13 |
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 |