diff options
Diffstat (limited to 'test/ppmchange-roundtrip.test')
-rwxr-xr-x | test/ppmchange-roundtrip.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/ppmchange-roundtrip.test b/test/ppmchange-roundtrip.test new file mode 100755 index 00000000..78f5b548 --- /dev/null +++ b/test/ppmchange-roundtrip.test @@ -0,0 +1,12 @@ +#! /bin/bash +# This script tests: ppmchange +# Also requires: pgmtopbm pnminvert ppmtopgm + + +ppmchange black white white black testgrid.pbm | \ +pnminvert | ppmtopgm | \ +pgmtopbm -th -val=0.5 | cksum + +ppmchange black white white black testgrid.pbm | \ +ppmchange black white white black | \ +ppmtopgm | pgmtopbm -th -val=0.5 | cksum |