about summary refs log tree commit diff
path: root/test/pgmramp.test
blob: 231b9311bc98bb3fc279fd792982e4ea1461e227 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/bash
# This script tests: pgmramp
# Also requires: 

  alias pgmramp="${PBM_TESTPREFIX}pgmramp"
  shopt -s expand_aliases

for type in -lr -tb -rectangle -ellipse -diagonal 
do
pgmramp -maxval=6 $type 4 4 -plain
done

for type in -lr -tb -rectangle -ellipse
do pgmramp $type 256 256 | cksum
done

pgmramp -diagonal -maxval=510 256 256 | cksum