summaryrefslogtreecommitdiff
path: root/test/feh-bg.i
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2010-10-03 00:03:18 +0200
committerDaniel Friesel <derf@finalrewind.org>2010-10-03 00:03:18 +0200
commit95fccf0010256b0dc1cdfd9342cf877bc7feef6b (patch)
tree747fdd10df268a4a7409169018db29cf1f2f6f44 /test/feh-bg.i
parent485d0c8c0a58b85c5c80f31627d89e3b5d449ff2 (diff)
More wallpaper tests, should cover all possible cases now
Diffstat (limited to 'test/feh-bg.i')
-rwxr-xr-xtest/feh-bg.i14
1 files changed, 13 insertions, 1 deletions
diff --git a/test/feh-bg.i b/test/feh-bg.i
index b26feff..63aecda 100755
--- a/test/feh-bg.i
+++ b/test/feh-bg.i
@@ -4,7 +4,7 @@ use warnings;
use 5.010;
use GD qw/:DEFAULT :cmp/;
-use Test::More tests => 30;
+use Test::More tests => 70;
use Time::HiRes qw/sleep/;
sub set_bg {
@@ -47,6 +47,18 @@ for my $mode (qw( center fill max scale tile )) {
set_bg($mode, 'bg_451x500.png');
check_bg("bg_451x500_${mode}.png");
+
+ set_bg($mode, 'bg_small_w.png');
+ check_bg("bg_small_w_${mode}.png");
+
+ set_bg($mode, 'bg_small_h.png');
+ check_bg("bg_small_h_${mode}.png");
+
+ set_bg($mode, 'bg_large_w.png');
+ check_bg("bg_large_w_${mode}.png");
+
+ set_bg($mode, 'bg_large_h.png');
+ check_bg("bg_large_h_${mode}.png");
}
unlink("/tmp/feh_${$}.png");