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/pad-crop-roundtrip.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/pad-crop-roundtrip.test')
-rwxr-xr-x | test/pad-crop-roundtrip.test | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/test/pad-crop-roundtrip.test b/test/pad-crop-roundtrip.test index 75979901..8cca8a5f 100755 --- a/test/pad-crop-roundtrip.test +++ b/test/pad-crop-roundtrip.test @@ -2,17 +2,25 @@ # This script tests: pnmcrop pnmmargin pnmpad # Also requires: +# Test 1. Should produce 1926073387 101484, cksum of testimg.ppm + pnmmargin -white 10 testimg.ppm | \ pnmcrop | cksum +# Test 2. Should produce 1926073387 101484 + pnmpad -white -left 10 -top 10 testimg.ppm | \ pnmpad -white -right 10 -bottom 10 | \ pnmcrop -right -bottom | pnmcrop -left -top | cksum -pnmmargin -white 10 testgrid.pbm | \ +# Test 3. Should produce 281226646 481, cksum of maze.pbm + +pnmmargin -white 10 maze.pbm | \ pnmcrop | cksum -pnmpad -white -left 10 -top 10 testgrid.pbm | \ +# Test 4. Should produce 281226646 481 + +pnmpad -white -left 10 -top 10 maze.pbm | \ pnmpad -white -right 10 -bottom 10 | \ pnmcrop -left -right | pnmcrop -top -bottom | cksum |