about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2014-02-21 03:14:37 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2014-02-21 03:14:37 +0000
commitae6a692e2a2d6972a555bf27eb6b85385fb9c38b (patch)
tree0280c8c00eb36ff5f4920667ce7ef7591ff2c57c /test
parent3fa9616c8b9028b5411e9b4a68705597650920e5 (diff)
downloadnetpbm-mirror-ae6a692e2a2d6972a555bf27eb6b85385fb9c38b.tar.gz
netpbm-mirror-ae6a692e2a2d6972a555bf27eb6b85385fb9c38b.tar.xz
netpbm-mirror-ae6a692e2a2d6972a555bf27eb6b85385fb9c38b.zip
new tests
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2132 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test')
-rw-r--r--test/Test-Order1
-rw-r--r--test/pgmramp.ok42
-rwxr-xr-xtest/pgmramp.test9
3 files changed, 32 insertions, 20 deletions
diff --git a/test/Test-Order b/test/Test-Order
index 1444f814..ff4b9855 100644
--- a/test/Test-Order
+++ b/test/Test-Order
@@ -61,6 +61,7 @@ pnmremap2.test
 pnmtile.test
 ppmbrighten.test
 ppmdither.test
+ppmrelief.test
 pamedge.test
 ppmdim.test
 pnmshear.test
diff --git a/test/pgmramp.ok b/test/pgmramp.ok
index 0971ccd7..989ef7d4 100644
--- a/test/pgmramp.ok
+++ b/test/pgmramp.ok
@@ -1,32 +1,40 @@
 P2
 4 4
-3
-0 1 2 3
-0 1 2 3
-0 1 2 3
-0 1 2 3
+6
+0 2 4 6
+0 2 4 6
+0 2 4 6
+0 2 4 6
 P2
 4 4
-3
+6
 0 0 0 0
-1 1 1 1
 2 2 2 2
-3 3 3 3
+4 4 4 4
+6 6 6 6
 P2
 4 4
-3
-0 0 1 0
-0 1 2 1
-1 2 3 2
-0 1 2 1
+6
+0 1 3 1
+1 3 4 3
+3 4 6 4
+1 3 4 3
 P2
 4 4
-3
+6
 0 0 0 0
-0 1 2 1
-0 2 3 2
-0 1 2 1
+0 3 4 3
+0 4 6 4
+0 3 4 3
+P2
+4 4
+6
+0 1 2 3
+1 2 3 4
+2 3 4 5
+3 4 5 6
 1777787286 65551
 2046889993 65551
 1975520432 65551
 807973067 65551
+886972785 131087
diff --git a/test/pgmramp.test b/test/pgmramp.test
index acfbdb5a..231b9311 100755
--- a/test/pgmramp.test
+++ b/test/pgmramp.test
@@ -5,11 +5,14 @@
   alias pgmramp="${PBM_TESTPREFIX}pgmramp"
   shopt -s expand_aliases
 
-for type in -lr -tb -rect -ell
+for type in -lr -tb -rectangle -ellipse -diagonal 
 do
-pgmramp -maxval=3 $type 4 4 -plain
+pgmramp -maxval=6 $type 4 4 -plain
 done
 
-for type in -lr -tb -rect -ell
+for type in -lr -tb -rectangle -ellipse
 do pgmramp $type 256 256 | cksum
 done
+
+pgmramp -diagonal -maxval=510 256 256 | cksum
+  
\ No newline at end of file