From ec0130df678220b632e8ebc8a0f5ded1da2743f1 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sat, 26 Jan 2019 17:23:40 +0000 Subject: 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 --- test/all-in-place.ok | 3 +++ test/all-in-place.test | 3 +++ test/ppmbrighten.ok | 6 +++--- test/ppmbrighten.test | 4 ++++ 4 files changed, 13 insertions(+), 3 deletions(-) (limited to 'test') 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 -- cgit 1.4.1