diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-06-28 17:21:21 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-06-28 17:21:21 +0000 |
commit | 0d513aca5cbbb8db0a9d127e101ac3b534cc8bf0 (patch) | |
tree | 3e8db9f13fb33464324c6986e7d80540a42a86c7 /test/ppmhist.test | |
parent | 7dd37058c4c8e0f6ca272e329162a52f958e4951 (diff) | |
download | netpbm-mirror-0d513aca5cbbb8db0a9d127e101ac3b534cc8bf0.tar.gz netpbm-mirror-0d513aca5cbbb8db0a9d127e101ac3b534cc8bf0.tar.xz netpbm-mirror-0d513aca5cbbb8db0a9d127e101ac3b534cc8bf0.zip |
promote Stable to Super Stable
git-svn-id: http://svn.code.sf.net/p/netpbm/code/super_stable@4557 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 |