* changed t31tic_color.t to check against different images based on the presence...
[imager-graph.git] / t / t30many_points.t
index 0a14320cfa60f2244e795e4fb0d9a0dfe92d3997..91f4d540b68144d7d82228916f9b7b3b32dd0be2 100644 (file)
@@ -53,15 +53,9 @@ sub cmpimg {
 
   $limit ||= 10000;
 
- SKIP:
-  {
-    $Imager::formats{png}
-      or skip("No PNG support", 1);
-
-    my $cmpimg = Imager->new;
-    $cmpimg->read(file=>$file)
-      or return ok(0, "Cannot read $file: ".$cmpimg->errstr);
-    my $diff = Imager::i_img_diff($img->{IMG}, $cmpimg->{IMG});
-    cmp_ok($diff, '<', $limit, "Comparison to $file ($diff)");
-  }
+  my $cmpimg = Imager->new;
+  $cmpimg->read(file=>$file)
+    or return ok(0, "Cannot read $file: ".$cmpimg->errstr);
+  my $diff = Imager::i_img_diff($img->{IMG}, $cmpimg->{IMG});
+  cmp_ok($diff, '<', $limit, "Comparison to $file ($diff)");
 }