diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-12-06 03:35:30 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-12-06 03:35:30 +0000 |
commit | b62eff9e0c76dcdab094bf9fe32355c543ea909f (patch) | |
tree | d9fcb02c5a8830d088657885f5e55340b29ae767 /test/winicon-roundtrip.test | |
parent | 59bf40d2b1cfe85111b15ec05f8c124f657aefe2 (diff) | |
download | netpbm-mirror-b62eff9e0c76dcdab094bf9fe32355c543ea909f.tar.gz netpbm-mirror-b62eff9e0c76dcdab094bf9fe32355c543ea909f.tar.xz netpbm-mirror-b62eff9e0c76dcdab094bf9fe32355c543ea909f.zip |
Add maze.pbm test image, update tests to use it
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4200 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/winicon-roundtrip.test')
-rwxr-xr-x | test/winicon-roundtrip.test | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/winicon-roundtrip.test b/test/winicon-roundtrip.test index 00c78400..b4814fee 100755 --- a/test/winicon-roundtrip.test +++ b/test/winicon-roundtrip.test @@ -1,6 +1,6 @@ #! /bin/bash # This script tests: pamtowinicon ppmtowinicon winicontopam -# Also requires: pamchannel pamcut pamdepth pamtopam pngtopam pnmtile pnmtopng +# Also requires: pamchannel pamcut pamdepth pamtopam tmpdir=${tmpdir:-/tmp} test_pam=${tmpdir}/testimg.pam @@ -18,9 +18,9 @@ pamtowinicon -pngthreshold=1 ${test_pam} | winicontopam | \ rm ${test_pam} -echo "Test 1. Should print 819454437 1093 six times" +echo "Test 1. Should print 1009647580 1093 six times" -pnmtile 32 32 testgrid.pbm | pamtopam | \ +pamcut -top=0 -left=0 -width=32 -height=32 maze.pbm | pamtopam | \ tee ${test_pam} | cksum pamtowinicon ${test_pam} | winicontopam | \ pamdepth 1 | pamchannel -tupletype="BLACKANDWHITE" 0 | cksum @@ -33,5 +33,6 @@ pamtowinicon -pngthreshold=1 ${test_pam} | winicontopam | rm ${test_pam} -pnmtile 32 32 testgrid.pbm | ppmtowinicon | winicontopam | \ +pamcut -top=0 -left=0 -width=32 -height=32 maze.pbm | \ + ppmtowinicon | winicontopam | \ pamdepth 1 | pamchannel -tupletype="BLACKANDWHITE" 0 | cksum |