#! /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