diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2018-03-25 17:14:57 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2018-03-25 17:14:57 +0000 |
commit | cd86a2c8d798c98b2f5d7656971fc4553b4ed172 (patch) | |
tree | 6218a52f6e09f0cb0ff15c0a0b130da920328e8e /test/ppmhist.test | |
parent | e488b82f0f446576138084a1bd57b7b4406e8db0 (diff) | |
download | netpbm-mirror-cd86a2c8d798c98b2f5d7656971fc4553b4ed172.tar.gz netpbm-mirror-cd86a2c8d798c98b2f5d7656971fc4553b4ed172.tar.xz netpbm-mirror-cd86a2c8d798c98b2f5d7656971fc4553b4ed172.zip |
Copy Development as new Advanced
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@3186 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/ppmhist.test')
-rwxr-xr-x | test/ppmhist.test | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/test/ppmhist.test b/test/ppmhist.test index 97fbd79d..27d31562 100755 --- a/test/ppmhist.test +++ b/test/ppmhist.test @@ -1,7 +1,22 @@ #! /bin/bash # This script tests: ppmhist -# Also requires: pgmramp +# Also requires: pgmramp pamtopnm pbmmake pamseq ppmpat +pgmramp -maxval=8 -lr 8 2 | ppmhist -sort=rgb -noheader +ppmhist -map -sort=rgb -noheader testimg.ppm | pamtopnm | cksum -pgmramp -maxval=8 -lr 8 2 | ppmhist -sort=rgb -ppmhist -map -sort=rgb testimg.ppm | cksum +# Test summary header + +pbmmake -b 2 1 | ppmhist | head -n1 +pbmmake -w 2 1 | ppmhist | head -n1 +pbmmake -g 2 1 | ppmhist | head -n1 +pgmramp -lr 16 1 | ppmhist | head -n1 +pgmramp -lr -maxval=7 16 1 | ppmhist | head -n1 +pamseq 3 1 | ppmhist | head -n1 +pamseq 3 2 | ppmhist | head -n1 +ppmpat -madras --color=rgb:32/0d/b7,rgb:31/58/a3,rgb:e9/5e/d4 25 25 | \ + ppmhist | head -n1 +ppmpat -madras --color=rgb:00/00/00,rgb:31/58/a3,rgb:e9/5e/d4 25 25 | \ + ppmhist | head -n1 +ppmpat -madras --color=rgb:00/00/00,rgb:31/58/a3,rgb:ff/ff/ff 25 25 | \ + ppmhist | head -n1 \ No newline at end of file |