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