about summary refs log tree commit diff
path: root/test/pamenlarge.test
blob: c3efc4b2474d07665f8230631eff512a3e4d2120 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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