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


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