blob: 2d7f6ce32ff1cc1078412236769dffdfd3322e3b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#! /bin/bash
# This script tests: pbmtomacp macptopbm
# Also requires: pnmcrop pbmmake
#Test 1. Should produce 2425386270 41
pbmtomacp testgrid.pbm | macptopbm | pnmcrop | cksum
#Test 2. Should produce 1005016577 51851
pbmmake -g 576 720 | pbmtomacp | macptopbm | cksum
|