From b62eff9e0c76dcdab094bf9fe32355c543ea909f Mon Sep 17 00:00:00 2001 From: giraffedata Date: Mon, 6 Dec 2021 03:35:30 +0000 Subject: 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 --- test/pamenlarge.test | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'test/pamenlarge.test') diff --git a/test/pamenlarge.test b/test/pamenlarge.test index 3820f47e..851362e8 100755 --- a/test/pamenlarge.test +++ b/test/pamenlarge.test @@ -2,13 +2,14 @@ # This script tests: pamenlarge # Also requires: pamchannel pamseq pamtopnm - -# Test 1. Should print 3424505894 913236 +echo "Test 1. Should print 3424505894 913236" pamenlarge 3 testimg.ppm | cksum -# Test 2. Should print 3763267672 304422 +echo "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 +echo "Test 3. Should print 3748791794 3905" +pamenlarge 3 maze.pbm | cksum +echo "Test 4. Should print 1618994486 1194" +pamenlarge -xscale=21 -yscale=2 testgrid.pbm | cksum +echo "Test 5. Should print 398497872 6806" pamseq 3 4 | pamtopnm -assume | pamenlarge 3 -plain | cksum -- cgit 1.4.1