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