about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2023-04-02 00:44:13 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2023-04-02 00:44:13 +0000
commit1186931ab01ef30a4dfc24912b948bdd7c3ad1de (patch)
tree5bdf2ff09a218660585caffce86d981681f06e27 /test
parente4b30c5f657ebb33591dcc979a3e3211e654fe84 (diff)
downloadnetpbm-mirror-1186931ab01ef30a4dfc24912b948bdd7c3ad1de.tar.gz
netpbm-mirror-1186931ab01ef30a4dfc24912b948bdd7c3ad1de.tar.xz
netpbm-mirror-1186931ab01ef30a4dfc24912b948bdd7c3ad1de.zip
Update for new 'pnmcolormap' sort order
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4546 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test')
-rwxr-xr-xtest/pnmcolormap2.test18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/pnmcolormap2.test b/test/pnmcolormap2.test
index bb870e7f..3f7da4f9 100755
--- a/test/pnmcolormap2.test
+++ b/test/pnmcolormap2.test
@@ -12,26 +12,26 @@ echo "Test.  Should print 'match' eight times."
 # colors in following tests / colors for calculating threshold
 # 100 /  90
 # 200 / 180
-#  30 /  25
+#  32 /  24
 
 pnmcolormap 100 testimg.ppm > ${map}
 pnmremap -mapfile=${map} testimg.ppm |\
-  pnmpsnr -target1=33.42 -target2=35.14 -target3=34.35 testimg.ppm -
+  pnmpsnr -target1=33.75 -target2=35.15 -target3=34.48 testimg.ppm -
 rm ${map}
 
 pnmcolormap -meancolor 100 testimg.ppm > ${map}
 pnmremap -mapfile=${map} testimg.ppm |\
-  pnmpsnr -target1=34.91 -target2=36.86 -target3=35.84 testimg.ppm -
+  pnmpsnr -target1=35.05 -target2=36.86 -target3=36.05 testimg.ppm -
 rm ${map}
 
 pnmcolormap -meanpixel 100 testimg.ppm > ${map}
 pnmremap -mapfile=${map} testimg.ppm |\
-  pnmpsnr -target1=34.95 -target2=36.77 -target3=35.81 testimg.ppm -
+  pnmpsnr -target1=35.01 -target2=36.80 -target3=36.08 testimg.ppm -
 rm ${map}
 
 pnmcolormap -spreadluminosity 100 testimg.ppm > ${map}
 pnmremap -mapfile=${map} testimg.ppm |\
-  pnmpsnr -target1=33.71 -target2=32.91 -target3=33.93 testimg.ppm -
+  pnmpsnr -target1=33.71 -target2=32.89 -target3=34.14 testimg.ppm -
 rm ${map}
 
 pnmcolormap -splitcolorct 100 testimg.ppm > ${map}
@@ -41,15 +41,15 @@ rm ${map}
 
 pnmcolormap -splitspread 100 testimg.ppm > ${map}
 pnmremap -mapfile=${map} testimg.ppm |\
-  pnmpsnr -target1=32.98 -target2=35.06 -target3=33.19 testimg.ppm -
+  pnmpsnr -target1=32.98 -target2=35.09 -target3=33.15 testimg.ppm -
 rm ${map}
 
 pnmcolormap 200 testimg.ppm > ${map}
 pnmremap -mapfile=${map} testimg.ppm |\
-  pnmpsnr -target1=36.14 -target2=36.87 -target3=36.79 testimg.ppm -
+  pnmpsnr -target1=36.01 -target2=37.07 -target3=36.60 testimg.ppm -
 rm ${map}
 
-pnmcolormap 30 testimg.ppm > ${map}
+pnmcolormap 32 testimg.ppm > ${map}
 pnmremap -mapfile=${map} testimg.ppm |\
-  pnmpsnr -target1=28.53 -target2=31.62 -target3=29.99 testimg.ppm -
+  pnmpsnr -target1=28.31 -target2=30.63 -target3=30.26 testimg.ppm -
 rm ${map}