about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2019-01-26 17:23:40 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2019-01-26 17:23:40 +0000
commitec0130df678220b632e8ebc8a0f5ded1da2743f1 (patch)
treee23301392248140a68f51ef5e5ef192163c25f2a /test
parentfb09918a6f41da4e507f43b99be7cfb43bb4bed1 (diff)
downloadnetpbm-mirror-ec0130df678220b632e8ebc8a0f5ded1da2743f1.tar.gz
netpbm-mirror-ec0130df678220b632e8ebc8a0f5ded1da2743f1.tar.xz
netpbm-mirror-ec0130df678220b632e8ebc8a0f5ded1da2743f1.zip
Add pambright, pamhue, pammixmulti to all-in-place test, update ppmbrighten tests for new math
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3521 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test')
-rw-r--r--test/all-in-place.ok3
-rwxr-xr-xtest/all-in-place.test3
-rw-r--r--test/ppmbrighten.ok6
-rwxr-xr-xtest/ppmbrighten.test4
4 files changed, 13 insertions, 3 deletions
diff --git a/test/all-in-place.ok b/test/all-in-place.ok
index 81eaa320..32fb573d 100644
--- a/test/all-in-place.ok
+++ b/test/all-in-place.ok
@@ -40,6 +40,7 @@ pamaltsat: ok
 pamarith: ok
 pambackground: ok
 pambayer: ok
+pambrighten: ok
 pamchannel: ok
 pamcomp: ok
 pamcrater: ok
@@ -59,10 +60,12 @@ pamfunc: ok
 pamgauss: ok
 pamgetcolor: ok
 pamgradient: ok
+pamhue: ok
 pamlevels: ok
 pamlookup: ok
 pammasksharpen: ok
 pammixinterlace: ok
+pammixmulti: ok
 pammosaicknit: ok
 pamoil: ok
 pampaintspill: ok
diff --git a/test/all-in-place.test b/test/all-in-place.test
index cf402b6f..2cb38677 100755
--- a/test/all-in-place.test
+++ b/test/all-in-place.test
@@ -82,6 +82,7 @@ ordinary_testprogs="\
   pamarith \
   pambackground \
   pambayer \
+  pambrighten \
   pamchannel \
   pamcomp \
   pamcrater \
@@ -101,10 +102,12 @@ ordinary_testprogs="\
   pamgauss \
   pamgetcolor \
   pamgradient \
+  pamhue \
   pamlevels \
   pamlookup \
   pammasksharpen \
   pammixinterlace \
+  pammixmulti \
   pammosaicknit \
   pamoil \
   pampaintspill \
diff --git a/test/ppmbrighten.ok b/test/ppmbrighten.ok
index f7897741..376e71d3 100644
--- a/test/ppmbrighten.ok
+++ b/test/ppmbrighten.ok
@@ -1,3 +1,3 @@
-3120103339 101484
-1832839052 101484
-2231336217 101484
+1969633344 101484
+3688219243 101484
+295150171 101484
diff --git a/test/ppmbrighten.test b/test/ppmbrighten.test
index fa7702d8..46c5cab5 100755
--- a/test/ppmbrighten.test
+++ b/test/ppmbrighten.test
@@ -2,6 +2,10 @@
 # This script tests: ppmbrighten
 # Also requires:
 
+# Failure message
+## Ppmbrighten is sensitive to subtle differences in floating point math.
+## If this test fails, please run the program and visually examine
+## the output.
 
 ppmbrighten -v 100 testimg.ppm | cksum
 ppmbrighten -v 100 -normalize testimg.ppm | cksum