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

#Test 1
echo "Test 1"

pbmtopgm -plain 1 1 testgrid.pbm

echo "Test Invalid"

. ./test-invalid.inc

invCmd "pbmtopgm 5 0 testgrid.pbm"
invCmd "pbmtopgm 0 9 testgrid.pbm"
invCmd "pbmtopgm 15 5 testgrid.pbm"
invCmd "pbmtopgm 5 17 testgrid.pbm"