#!/bin/bash
# Test invertibility of all matrices by combining every possible
# combination of pieces
#
# $Id: all3matrices,v 1.3 2005/01/25 22:00:54 morgo Exp $

../hydra -b -o stf 3 25 $srcdir/smalltestfile

for i in `seq -f "%03g" 0 22`
do for j in `seq -f "%03g" $((10#$i+1)) 23`
do for k in `seq -f "%03g" $((10#$j+1)) 24`
	do ../hydra -j stf.$i stf.$j stf.$k | diff - $srcdir/smalltestfile \
	|| exit 1
done
done
done

rm -f stf.0??
