about summary refs log tree commit diff
path: root/test/rawtoppm.ok
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2020-06-08 14:31:55 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2020-06-08 14:31:55 +0000
commitab2c3e2053f1caea636b781542bb032f72074821 (patch)
treecfedb9c69207a6a7901aa88ca027c31f3414fcf6 /test/rawtoppm.ok
parent92957c23f07558fa9d73e183a9739eed240bf7b4 (diff)
downloadnetpbm-mirror-ab2c3e2053f1caea636b781542bb032f72074821.tar.gz
netpbm-mirror-ab2c3e2053f1caea636b781542bb032f72074821.tar.xz
netpbm-mirror-ab2c3e2053f1caea636b781542bb032f72074821.zip
Add tests
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3854 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/rawtoppm.ok')
-rw-r--r--test/rawtoppm.ok23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/rawtoppm.ok b/test/rawtoppm.ok
new file mode 100644
index 00000000..c61e75aa
--- /dev/null
+++ b/test/rawtoppm.ok
@@ -0,0 +1,23 @@
+Test 1: should print '0 0 : 0'
+0 0 : 0
+Test 2: should print '0 0 : 0' five times
+0 0 : 0
+0 0 : 0
+0 0 : 0
+0 0 : 0
+0 0 : 0
+Test 3: should print '0 0 0 : 0' five times
+0 0 0 : 0
+0 0 0 : 0
+0 0 0 : 0
+0 0 0 : 0
+0 0 0 : 0
+Test 4
+P3
+5 5
+255
+0 0 0  0 0 0  0 0 0  0 0 0  0 0 0
+0 0 0  0 0 5  5 5 5  5 9 9  9 9 9
+0 1 2  3 4 0  1 2 3  4 0 1  2 3 4
+0 1 2  3 4 1  2 3 4  5 2 3  4 5 6
+9 8 7  6 5 4  3 2 1  0 0 0  0 0 0