diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2012-11-24 19:18:45 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2012-11-24 19:18:45 +0000 |
commit | 4296fe52a37736b7533b3bf447b29ad7933a3ab4 (patch) | |
tree | 87644c5b7e46fb333bcde7903f8dcf0de4964d3d /test/pamenlarge.test | |
parent | b3f62ef1f3fb72b5674c4481dd25148fbe51850b (diff) | |
download | netpbm-mirror-4296fe52a37736b7533b3bf447b29ad7933a3ab4.tar.gz netpbm-mirror-4296fe52a37736b7533b3bf447b29ad7933a3ab4.tar.xz netpbm-mirror-4296fe52a37736b7533b3bf447b29ad7933a3ab4.zip |
New test framework, lots of tests
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1775 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/pamenlarge.test')
-rwxr-xr-x | test/pamenlarge.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/pamenlarge.test b/test/pamenlarge.test new file mode 100755 index 00000000..c3efc4b2 --- /dev/null +++ b/test/pamenlarge.test @@ -0,0 +1,12 @@ +#! /bin/bash +# This script tests: pamenlarge +# Also requires: ppmtopgm + +# Test 1. Should print 3424505894 913236 +${PBM_TESTPREFIX}pamenlarge 3 testimg.ppm | cksum +# Test 2. Should print 4152147096 304422 +${PBM_BINPREFIX}ppmtopgm testimg.ppm | ${PBM_TESTPREFIX}pamenlarge 3 | cksum +# Test 3. Should print 3342398172 297 +${PBM_TESTPREFIX}pamenlarge 3 testgrid.pbm | cksum +# Test 4. Should print 237488670 3133413 +${PBM_TESTPREFIX}pamenlarge 3 -plain testimg.ppm | cksum |