diff options
Diffstat (limited to 'test/pamtable.test')
-rwxr-xr-x | test/pamtable.test | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/pamtable.test b/test/pamtable.test new file mode 100755 index 00000000..5c66b7ae --- /dev/null +++ b/test/pamtable.test @@ -0,0 +1,20 @@ +#! /bin/bash +# This script tests: pamtable +# Also requires: pamgradient pamseq pamdepth + +pamtable testgrid.pbm +echo +pamseq 3 2 -tupletype=RGB | pamtable +echo +pamseq 4 1 -tupletype=RGBA | pamtable +echo +for maxval in 9 10 9999 10000 65535 + do pbmmake -g 2 2 | pamdepth $maxval | pamtable + echo + ppmrainbow -width=3 -height=2 -norepeat black white | \ + pamdepth $maxval | pamtable + echo + ppmrainbow -width=4 -height=2 -norepeat red blue green | \ + pamdepth $maxval | pamtable + echo + done |