about summary refs log tree commit diff
path: root/test/pbmminkowski.test
blob: 120441f14d0596b060dee4ed51ff954db19ef2b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/bash
# This script tests: pbmminkowski
# Also requires: pbmmake pnmmargin pnmpad

  alias pbmminkowski="${PBM_TESTPREFIX}pbmminkowski"
  alias pbmmake="${PBM_BINPREFIX}pbmmake"
  alias pnmmargin="${PBM_BINPREFIX}pnmmargin"
  shopt -s expand_aliases

pbmmake -w 1 1 | pnmmargin -b 1 | \
  pbmminkowski
echo
pbmmake -g 3 3 | pbmminkowski
echo
pbmminkowski testgrid.pbm