blob: 0393d73e0a9a7280f9bb8f205f4cb1e1d7d0e9f1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#! /bin/sh
# This script tests: pamflip
# Also requires:
# Failure message
## Failure with this test indicates a problem with pamflip transpositions
## (90 degree flips) when input is PBM. This operation is done by an
## optional SSE routine. If you make a wrong choice during configure,
## this test will fail.
echo "Test 1. Should print 748061765 465"
pamflip -cw maze.pbm | cksum
echo "Test 2. Should print 3217647947 465"
pamflip -ccw maze.pbm | cksum
echo "Test 2. Should print 1086015439 465"
pamflip -xy maze.pbm | cksum
|