diff options
Diffstat (limited to 'test/pnminvert.test')
-rwxr-xr-x | test/pnminvert.test | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/test/pnminvert.test b/test/pnminvert.test index b80716ef..68a4e066 100755 --- a/test/pnminvert.test +++ b/test/pnminvert.test @@ -2,25 +2,20 @@ # This script tests: pnminvert # Also requires: pbmmake pamchannel pamtopnm +echo "Test 1. Should print 1739442872 481" +pnminvert maze.pbm | cksum -# Test 1. Should print 1240379484 41 -pnminvert testgrid.pbm | cksum - -# Test 2. Should print 1416115901 101484 +echo "Test 2. Should print 1416115901 101484" pnminvert testimg.ppm | cksum -# Test 3. Should print 1174803406 33838 +echo "Test 3. Should print 1174803406 33838" pamchannel -infile=testimg.ppm -tupletype="GRAYSCALE" 0 | pamtopnm | \ pnminvert | cksum -# Test 4. Should print 2595564405 14 +echo "Test 4. Should print 2595564405 14 three times" pbmmake -w 7 7 | pnminvert | cksum - -# Test 5. Should print 2595564405 14 pbmmake -b 7 7 | cksum - -# Test 6. Should print 2595564405 14 pbmmake -b 7 7 | pnminvert | pnminvert | cksum -# Test 7. Should print 2896726098 15 +echo "Test 7. Should print 2896726098 15" pbmmake -g 8 8 | pnminvert | cksum |