blob: acbe75a48e9bf24cff9b075069bd15e8807edb53 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#! /bin/sh
# This script tests: pgmmake
# Also requires:
echo "Test 1"
pgmmake -plain 0 1 1
pgmmake -plain 1 1 1
pgmmake -plain -maxval=2 0.5 1 1
pgmmake 1 50 50 | cksum
pgmmake .2 50 100 -maxval=5 | cksum
echo "Test Invalid"
. ./test-invalid.inc
invCmd "pgmmake"
invCmd "pgmmake 100 5 5"
invCmd "pgmmake 1.01 5 5"
invCmd "pgmmake .5 5"
invCmd "pgmmake .5"
invCmd "pgmmake -maxval=5 5 5"
invCmd "pgmmake -maxval=0 .5 5 5"
invCmd "pgmmake -maxval=-1 .5 5 5"
invCmd "pgmmake -maxval=65536 .5 5 5"
|