diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-03-30 17:12:47 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-03-30 17:12:47 +0000 |
commit | 04afde0b11367018d95be801c543fdcf16420b5d (patch) | |
tree | 8c1ecbdf40aa57ff7fe47234708e3a2995d2b641 /test/pnmshear.test | |
parent | fbf4dcdf76bf004ea45a762e8399268cc388ae19 (diff) | |
download | netpbm-mirror-04afde0b11367018d95be801c543fdcf16420b5d.tar.gz netpbm-mirror-04afde0b11367018d95be801c543fdcf16420b5d.tar.xz netpbm-mirror-04afde0b11367018d95be801c543fdcf16420b5d.zip |
Update to current Development release - 10.66.00
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@2172 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/pnmshear.test')
-rwxr-xr-x[-rw-r--r--] | test/pnmshear.test | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/test/pnmshear.test b/test/pnmshear.test index 276e3e22..30ab45be 100644..100755 --- a/test/pnmshear.test +++ b/test/pnmshear.test @@ -1,19 +1,26 @@ #! /bin/bash # This script tests: pnmshear -# Also requires: pbmmake +# Also requires: pbmmake pnmpad -# Test. Should produce 2080980136 22 -${PBM_BINPREFIX}pbmmake -g 7 7 | \ - ${PBM_TESTPREFIX}pnmshear 45 -noantialias | cksum + alias pnmshear="${PBM_TESTPREFIX}pnmshear" + alias pbmmake="${PBM_BINPREFIX}pbmmake" + alias pnmpad="${PBM_BINPREFIX}pnmpad" + shopt -s expand_aliases + +# Test. Should produce 598644601 24 + +pbmmake -g 7 7 | pnmpad -white -top 1 | \ + pnmshear 45 -noantialias | cksum # Output of above, in pbm plain format # # P1 -# 14 7 -# 01010101111111 -# 10101011111111 -# 10101010111111 -# 11101010111111 -# 11101010101111 -# 11111010101111 -# 11111010101011 +# 15 8 +# 000000000000000 +# 010101000000000 +# 010101010000000 +# 000101010000000 +# 000101010100000 +# 000001010100000 +# 000001010101000 +# 000000010101000 |