blob: 2b18eb8d8e45c04f9e9fa70ad46a3f020240a9f6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#! /bin/bash
# This script tests: pamflip
# Also requires:
alias pamflip="${PBM_TESTPREFIX}pamflip"
shopt -s expand_aliases
pamflip -lr testimg.ppm | pamflip -lr | cksum
pamflip -tb testimg.ppm | pamflip -tb | cksum
pamflip -r180 testimg.ppm | \
pamflip -r180 | cksum
pamflip -xy testimg.ppm | pamflip -xy | cksum
pamflip -r90 testimg.ppm | \
pamflip -r90 | \
pamflip -r90 | \
pamflip -r90 | cksum
pamflip -r270 testimg.ppm | \
pamflip -r270 | \
pamflip -r270 | \
pamflip -r270 | cksum
pamflip -lr testgrid.pbm | \
pamflip -lr | cksum
pamflip -tb testgrid.pbm | \
pamflip -tb | cksum
pamflip -r180 testgrid.pbm | \
pamflip -r180 | cksum
pamflip -xy testgrid.pbm | \
pamflip -xy | cksum
pamflip -r90 testgrid.pbm | \
pamflip -r90 | \
pamflip -r90 | \
pamflip -r90 | cksum
pamflip -r270 testgrid.pbm | \
pamflip -r270 | \
pamflip -r270 | \
pamflip -r270 | cksum
|