#! /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"
