]> git.imager.perl.org - imager.git/commitdiff
add more pod coverage tests (and the coverage needed)
authorTony Cook <tony@develop=help.com>
Tue, 4 Jul 2006 11:28:34 +0000 (11:28 +0000)
committerTony Cook <tony@develop=help.com>
Tue, 4 Jul 2006 11:28:34 +0000 (11:28 +0000)
lib/Imager/Matrix2d.pm
lib/Imager/Transform.pm
t/t93podcover.t

index 1c66308a6b6c6b1d784c7e433781da32779c701a..c418daf1b9a1724c363dff0ea83aada4038b9938 100644 (file)
@@ -349,6 +349,8 @@ You can import these methods with:
 
 =item m2d_reflect()
 
+=item m2d_scale()
+
 =back
 
 =cut
index 4563d340c02be7b47df96338bfe32114fc5e21a4..4c43abbe1f7f2be02e4ba87f2083b576b1b847ad 100644 (file)
@@ -500,6 +500,16 @@ depending on content.
 The list contains hashrefs, which current contain only one member,
 desc, a description of the use of the input image.
 
+=item $tran->constants
+
+Return's a list of names of constants that can be set for the
+transformation.
+
+=item $tran->constants($name, $name, ...)
+
+Returns a hashref for each named constant, which contains the default
+in key C<default> and a description in key C<desc>.
+
 =item my $out = $tran->transform(\%opts, \%constants, @imgs)
 
 Perform the image transformation.
index 1e952545e1c09410436944c751fd0864e8c43719..87d91c117bab245fbbd3f37941f4c1a007e2f9a3 100644 (file)
@@ -24,7 +24,7 @@ my @private =
   );
 my @trustme = ( '^open$',  );
 
-plan tests => 11;
+plan tests => 15;
 
 {
   pod_coverage_ok('Imager', { also_private => \@private,
@@ -45,5 +45,9 @@ plan tests => 11;
   pod_coverage_ok('Imager::Fill');
   pod_coverage_ok('Imager::Font::BBox');
   pod_coverage_ok('Imager::Font::Wrap');
+  pod_coverage_ok('Imager::Fountain');
+  pod_coverage_ok('Imager::Matrix2d');
+  pod_coverage_ok('Imager::Regops');
+  pod_coverage_ok('Imager::Transform');
 }