about summary refs log tree commit diff
path: root/test/pamflip.test
blob: 59f8e639e9ece7287a8dfc34369a26e2b76a8198 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/bash
# This script tests: pamflip
# Also requires: 

# Test 1.  Should print 2116496681 101484
${PBM_TESTPREFIX}pamflip -lr testimg.ppm | cksum 
# Test 2.  Should print 217037000 101484
${PBM_TESTPREFIX}pamflip -cw testimg.ppm | cksum
# Test 3.  Should print 2052917888 101484
${PBM_TESTPREFIX}pamflip -tb testimg.ppm | cksum
# Test 4.  Should print 3375384165 41
${PBM_TESTPREFIX}pamflip -lr testgrid.pbm | cksum
# Test 5.  Should print 604323149 41
${PBM_TESTPREFIX}pamflip -tb testgrid.pbm | cksum
# Test 6.  Should print 490797850 37
${PBM_TESTPREFIX}pamflip -cw testgrid.pbm | cksum