Skip to content
Browse files

fixed to test value range

  • Loading branch information...
1 parent 0815323 commit da60370a6384a79317e981f12f2d29bc741af4eb @yappo committed Mar 8, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 t/Utils.pm
View
2 t/Utils.pm
@@ -45,7 +45,7 @@ sub is_rotated {
for my $x (($map->{x}-1)..($map->{x}+1)) {
for my $y (($map->{y}-1)..($map->{y}+1)) {
my @color = $image->getpixel( x => $x, y => $y )->rgba;
- ::ok($color[0] > $color[1]+200, "$orientation: $x, $y is R($color[0]) > G($color[1]+100)");
+ ::ok($color[0] > $color[1]+100, "$orientation: $x, $y is R($color[0]) > G($color[1]+100)");
::ok($color[0] > $color[2]+200, "$orientation: $x, $y is R($color[0]) > B($color[2]+200)");
}
}

0 comments on commit da60370

Please sign in to comment.
Something went wrong with that request. Please try again.