summaryrefslogtreecommitdiffstats
path: root/t/P1.t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-10-07 15:43:18 -0400
committerJesse Luehrs <doy@tozt.net>2014-10-07 15:43:18 -0400
commitc58bbc3a8368dc96f1a07e2ee3bf0825c9e2af34 (patch)
tree6ef718fb22f4a48df82d47897c9140595efda715 /t/P1.t
parent12392181b58a25b8f63410d10759457e070ad24e (diff)
downloadimage-pnm-c58bbc3a8368dc96f1a07e2ee3bf0825c9e2af34.tar.gz
image-pnm-c58bbc3a8368dc96f1a07e2ee3bf0825c9e2af34.zip
implement P4
Diffstat (limited to 't/P1.t')
-rw-r--r--t/P1.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/P1.t b/t/P1.t
index 9e0bf14..030634b 100644
--- a/t/P1.t
+++ b/t/P1.t
@@ -54,4 +54,10 @@ P3
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
IMAGE
+is($image->as_string('P4') . "\n", <<IMAGE);
+P4
+6 8
+\x00\x30\x48\x84\xfc\x84\x84\x00
+IMAGE
+
done_testing;