about summary refs log tree commit diff
path: root/test/ppmhist.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/ppmhist.test')
-rwxr-xr-xtest/ppmhist.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/ppmhist.test b/test/ppmhist.test
new file mode 100755
index 00000000..97fbd79d
--- /dev/null
+++ b/test/ppmhist.test
@@ -0,0 +1,7 @@
+#! /bin/bash
+# This script tests: ppmhist
+# Also requires: pgmramp
+
+
+pgmramp -maxval=8 -lr 8 2 | ppmhist -sort=rgb
+ppmhist -map -sort=rgb testimg.ppm | cksum