about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2019-08-24 22:53:55 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2019-08-24 22:53:55 +0000
commit52f19f88229ce9764a6be6eb6fdba3d239b81e49 (patch)
tree7493cc13e21f864899611be00709adb1eef63993 /test
parent52011d90847162cebcd1da155f0cd91239fca724 (diff)
downloadnetpbm-mirror-52f19f88229ce9764a6be6eb6fdba3d239b81e49.tar.gz
netpbm-mirror-52f19f88229ce9764a6be6eb6fdba3d239b81e49.tar.xz
netpbm-mirror-52f19f88229ce9764a6be6eb6fdba3d239b81e49.zip
Use -sort=rgb on ppmhist to make results repeatable
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3664 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test')
-rw-r--r--test/pamhue.ok8
-rwxr-xr-xtest/pamhue.test4
2 files changed, 6 insertions, 6 deletions
diff --git a/test/pamhue.ok b/test/pamhue.ok
index 447759ba..dbef973d 100644
--- a/test/pamhue.ok
+++ b/test/pamhue.ok
@@ -5,21 +5,21 @@
  ----- ----- ----- 	-----	------- 
      0     0     0	    0	      1 
      0     0   255	   29	      1 
-   255   255     0	  226	      1 
-   255   255   255	  255	      1 
      0   255     0	  150	      1 
      0   255   255	  179	      1 
    255     0     0	   76	      1 
    255     0   255	  105	      1 
+   255   255     0	  226	      1 
+   255   255   255	  255	      1 
  Summary: 8 colors: 1 black, 1 white, 0 gray, 6 color
 
    r     g     b   	 lum 	 count  
  ----- ----- ----- 	-----	------- 
      0     0     0	    0	      1 
      0     0   255	   29	      1 
-   255   255     0	  226	      1 
-   255   255   255	  255	      1 
      0   255     0	  150	      1 
      0   255   255	  179	      1 
    255     0     0	   76	      1 
    255     0   255	  105	      1 
+   255   255     0	  226	      1 
+   255   255   255	  255	      1 
diff --git a/test/pamhue.test b/test/pamhue.test
index 544b1d32..18240959 100755
--- a/test/pamhue.test
+++ b/test/pamhue.test
@@ -4,7 +4,7 @@
 
 pamseq -tupletype=RGB 3 1 | pamdepth 255 | pamhue -huechange=60 | cksum
 
-pamseq -tupletype=RGB 3 1 | pamdepth 255 | ppmhist
-pamseq -tupletype=RGB 3 1 | pamdepth 255 | pamhue -huechange=60 | ppmhist
+pamseq -tupletype=RGB 3 1 | pamdepth 255 | ppmhist -sort=rgb
+pamseq -tupletype=RGB 3 1 | pamdepth 255 | pamhue -huechange=60 | ppmhist -sort=rgb