blob: c016c8c393e120eef9380e0cbbee5a18b8b2aac8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#! /bin/sh
# This script tests: ppmtoxpm xpmtoppm
# Also requires: pgmtopbm ppmtopgm
echo "Test 1. Should print 1926073387 101484"
ppmtoxpm -hexonly testimg.ppm | \
xpmtoppm | cksum
echo "Test 2. Should print 281226646 481"
ppmtoxpm maze.pbm | xpmtoppm | \
ppmtopgm | pgmtopbm -th -value=0.5 | cksum
|