about summary refs log tree commit diff
path: root/converter/ppm/ppmtomitsu.test
diff options
context:
space:
mode:
Diffstat (limited to 'converter/ppm/ppmtomitsu.test')
-rw-r--r--converter/ppm/ppmtomitsu.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/converter/ppm/ppmtomitsu.test b/converter/ppm/ppmtomitsu.test
new file mode 100644
index 00000000..1805838a
--- /dev/null
+++ b/converter/ppm/ppmtomitsu.test
@@ -0,0 +1,12 @@
+echo Test 1.  Should print 3110813682 101562
+./ppmtomitsu ../../testimg.ppm | cksum 
+echo Test 2.  Should print 239186803 34399
+pnmquant 100 ../../testimg.ppm | ./ppmtomitsu | cksum 
+echo Test 3.  Should print 816221676 310
+./ppmtomitsu ../../testgrid.pbm | cksum 
+echo Test 4.  Should print 629834989 752
+./ppmtomitsu -tiny ../../testgrid.pbm | cksum 
+echo Test 5.  Should print 3999654426 101549
+./ppmtomitsu -tiny ../../testimg.ppm | cksum 
+echo Test 2.  Should print 3078685526 101549
+pnmquant 100 ../../testimg.ppm | ./ppmtomitsu -tiny | cksum