summaryrefslogtreecommitdiffstats
path: root/t/P3.t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-10-07 15:58:36 -0400
committerJesse Luehrs <doy@tozt.net>2014-10-07 15:58:36 -0400
commit3b5bc86786a56b9437d1e6ac5a3de786110d731e (patch)
tree40c1b7648cfc412be4f424c9905c42069f6de17b /t/P3.t
parentc58bbc3a8368dc96f1a07e2ee3bf0825c9e2af34 (diff)
downloadimage-pnm-3b5bc86786a56b9437d1e6ac5a3de786110d731e.tar.gz
image-pnm-3b5bc86786a56b9437d1e6ac5a3de786110d731e.zip
implement P5
Diffstat (limited to 't/P3.t')
-rw-r--r--t/P3.t7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/P3.t b/t/P3.t
index 925b2d7..3a60aa0 100644
--- a/t/P3.t
+++ b/t/P3.t
@@ -60,4 +60,11 @@ P4
\x00\x30\x48\x84\xfc\x84\x84\x00
IMAGE
+is($image->as_string('P5') . "\n", <<IMAGE);
+P5
+6 8
+255
+\xff\xff\xff\xff\xff\xff\xff\xff\x4e\x4e\xff\xff\xff\x00\xff\xff\x00\xff\x00\xff\xff\xff\xff\x00\x00\x36\x36\x36\x36\x00\x00\xff\xff\xff\xff\x00\x00\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff
+IMAGE
+
done_testing;