diff options
Diffstat (limited to 'test/pamenlarge.test')
-rwxr-xr-x | test/pamenlarge.test | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/pamenlarge.test b/test/pamenlarge.test new file mode 100755 index 00000000..3820f47e --- /dev/null +++ b/test/pamenlarge.test @@ -0,0 +1,14 @@ +#! /bin/bash +# This script tests: pamenlarge +# Also requires: pamchannel pamseq pamtopnm + + +# Test 1. Should print 3424505894 913236 +pamenlarge 3 testimg.ppm | cksum +# Test 2. Should print 3763267672 304422 +pamchannel -infile=testimg.ppm -tupletype="GRAYSCALE" 0 | pamtopnm | \ + pamenlarge 3 | cksum +# Test 3. Should print 3342398172 297 +pamenlarge 3 testgrid.pbm | cksum +# Test 4. Should print 398497872 6806 +pamseq 3 4 | pamtopnm -assume | pamenlarge 3 -plain | cksum |