summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/bg_large_h.pngbin0 -> 229116 bytes
-rw-r--r--test/bg_large_h_center.pngbin0 -> 23632 bytes
-rw-r--r--test/bg_large_h_fill.pngbin0 -> 84198 bytes
-rw-r--r--test/bg_large_h_max.pngbin0 -> 35271 bytes
-rw-r--r--test/bg_large_h_scale.pngbin0 -> 94912 bytes
-rw-r--r--test/bg_large_h_tile.pngbin0 -> 13552 bytes
-rw-r--r--test/bg_large_w.pngbin0 -> 87657 bytes
-rw-r--r--test/bg_large_w_center.pngbin0 -> 29104 bytes
-rw-r--r--test/bg_large_w_fill.pngbin0 -> 125501 bytes
-rw-r--r--test/bg_large_w_max.pngbin0 -> 17916 bytes
-rw-r--r--test/bg_large_w_scale.pngbin0 -> 102207 bytes
-rw-r--r--test/bg_large_w_tile.pngbin0 -> 19070 bytes
-rw-r--r--test/bg_small_h.pngbin0 -> 2453 bytes
-rw-r--r--test/bg_small_h_center.pngbin0 -> 2243 bytes
-rw-r--r--test/bg_small_h_fill.pngbin0 -> 77707 bytes
-rw-r--r--test/bg_small_h_max.pngbin0 -> 40925 bytes
-rw-r--r--test/bg_small_h_scale.pngbin0 -> 69223 bytes
-rw-r--r--test/bg_small_h_tile.pngbin0 -> 9703 bytes
-rw-r--r--test/bg_small_w.pngbin0 -> 1229 bytes
-rw-r--r--test/bg_small_w_center.pngbin0 -> 1919 bytes
-rw-r--r--test/bg_small_w_fill.pngbin0 -> 68182 bytes
-rw-r--r--test/bg_small_w_max.pngbin0 -> 35987 bytes
-rw-r--r--test/bg_small_w_scale.pngbin0 -> 68174 bytes
-rw-r--r--test/bg_small_w_tile.pngbin0 -> 12148 bytes
-rwxr-xr-xtest/feh-bg.i14
25 files changed, 13 insertions, 1 deletions
diff --git a/test/bg_large_h.png b/test/bg_large_h.png
new file mode 100644
index 0000000..8167288
--- /dev/null
+++ b/test/bg_large_h.png
Binary files differ
diff --git a/test/bg_large_h_center.png b/test/bg_large_h_center.png
new file mode 100644
index 0000000..711704f
--- /dev/null
+++ b/test/bg_large_h_center.png
Binary files differ
diff --git a/test/bg_large_h_fill.png b/test/bg_large_h_fill.png
new file mode 100644
index 0000000..8503fc8
--- /dev/null
+++ b/test/bg_large_h_fill.png
Binary files differ
diff --git a/test/bg_large_h_max.png b/test/bg_large_h_max.png
new file mode 100644
index 0000000..bbad392
--- /dev/null
+++ b/test/bg_large_h_max.png
Binary files differ
diff --git a/test/bg_large_h_scale.png b/test/bg_large_h_scale.png
new file mode 100644
index 0000000..5e88336
--- /dev/null
+++ b/test/bg_large_h_scale.png
Binary files differ
diff --git a/test/bg_large_h_tile.png b/test/bg_large_h_tile.png
new file mode 100644
index 0000000..f16d150
--- /dev/null
+++ b/test/bg_large_h_tile.png
Binary files differ
diff --git a/test/bg_large_w.png b/test/bg_large_w.png
new file mode 100644
index 0000000..dc1f30b
--- /dev/null
+++ b/test/bg_large_w.png
Binary files differ
diff --git a/test/bg_large_w_center.png b/test/bg_large_w_center.png
new file mode 100644
index 0000000..1f425ea
--- /dev/null
+++ b/test/bg_large_w_center.png
Binary files differ
diff --git a/test/bg_large_w_fill.png b/test/bg_large_w_fill.png
new file mode 100644
index 0000000..61b5448
--- /dev/null
+++ b/test/bg_large_w_fill.png
Binary files differ
diff --git a/test/bg_large_w_max.png b/test/bg_large_w_max.png
new file mode 100644
index 0000000..6b3b450
--- /dev/null
+++ b/test/bg_large_w_max.png
Binary files differ
diff --git a/test/bg_large_w_scale.png b/test/bg_large_w_scale.png
new file mode 100644
index 0000000..20cfab3
--- /dev/null
+++ b/test/bg_large_w_scale.png
Binary files differ
diff --git a/test/bg_large_w_tile.png b/test/bg_large_w_tile.png
new file mode 100644
index 0000000..16855f7
--- /dev/null
+++ b/test/bg_large_w_tile.png
Binary files differ
diff --git a/test/bg_small_h.png b/test/bg_small_h.png
new file mode 100644
index 0000000..74f9b29
--- /dev/null
+++ b/test/bg_small_h.png
Binary files differ
diff --git a/test/bg_small_h_center.png b/test/bg_small_h_center.png
new file mode 100644
index 0000000..3071ee6
--- /dev/null
+++ b/test/bg_small_h_center.png
Binary files differ
diff --git a/test/bg_small_h_fill.png b/test/bg_small_h_fill.png
new file mode 100644
index 0000000..76b2702
--- /dev/null
+++ b/test/bg_small_h_fill.png
Binary files differ
diff --git a/test/bg_small_h_max.png b/test/bg_small_h_max.png
new file mode 100644
index 0000000..9caa5d3
--- /dev/null
+++ b/test/bg_small_h_max.png
Binary files differ
diff --git a/test/bg_small_h_scale.png b/test/bg_small_h_scale.png
new file mode 100644
index 0000000..d51d64a
--- /dev/null
+++ b/test/bg_small_h_scale.png
Binary files differ
diff --git a/test/bg_small_h_tile.png b/test/bg_small_h_tile.png
new file mode 100644
index 0000000..5f66296
--- /dev/null
+++ b/test/bg_small_h_tile.png
Binary files differ
diff --git a/test/bg_small_w.png b/test/bg_small_w.png
new file mode 100644
index 0000000..d281c6b
--- /dev/null
+++ b/test/bg_small_w.png
Binary files differ
diff --git a/test/bg_small_w_center.png b/test/bg_small_w_center.png
new file mode 100644
index 0000000..d5635c3
--- /dev/null
+++ b/test/bg_small_w_center.png
Binary files differ
diff --git a/test/bg_small_w_fill.png b/test/bg_small_w_fill.png
new file mode 100644
index 0000000..812bb18
--- /dev/null
+++ b/test/bg_small_w_fill.png
Binary files differ
diff --git a/test/bg_small_w_max.png b/test/bg_small_w_max.png
new file mode 100644
index 0000000..d38f45e
--- /dev/null
+++ b/test/bg_small_w_max.png
Binary files differ
diff --git a/test/bg_small_w_scale.png b/test/bg_small_w_scale.png
new file mode 100644
index 0000000..2688754
--- /dev/null
+++ b/test/bg_small_w_scale.png
Binary files differ
diff --git a/test/bg_small_w_tile.png b/test/bg_small_w_tile.png
new file mode 100644
index 0000000..b4bf86f
--- /dev/null
+++ b/test/bg_small_w_tile.png
Binary files differ
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");