blob: 46c5cab5ef020c9f9be6a3a73cbe1abae562429c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#! /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
|