#! /bin/bash # This script tests: ppmbrighten # Also requires: # Failure message ## Ppmbrighten is sensitive to subtle differences in floating point math. ## If this test fails, please run the program and visually examine ## the output. ppmbrighten -v 100 testimg.ppm | cksum ppmbrighten -v 100 -normalize testimg.ppm | cksum ppmbrighten -s 100 -v -50 testimg.ppm | cksum