diff options
author | Daniel Friesel <derf@finalrewind.org> | 2010-10-03 00:03:18 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2010-10-03 00:03:18 +0200 |
commit | 95fccf0010256b0dc1cdfd9342cf877bc7feef6b (patch) | |
tree | 747fdd10df268a4a7409169018db29cf1f2f6f44 /test | |
parent | 485d0c8c0a58b85c5c80f31627d89e3b5d449ff2 (diff) |
More wallpaper tests, should cover all possible cases now
Diffstat (limited to 'test')
-rw-r--r-- | test/bg_large_h.png | bin | 0 -> 229116 bytes | |||
-rw-r--r-- | test/bg_large_h_center.png | bin | 0 -> 23632 bytes | |||
-rw-r--r-- | test/bg_large_h_fill.png | bin | 0 -> 84198 bytes | |||
-rw-r--r-- | test/bg_large_h_max.png | bin | 0 -> 35271 bytes | |||
-rw-r--r-- | test/bg_large_h_scale.png | bin | 0 -> 94912 bytes | |||
-rw-r--r-- | test/bg_large_h_tile.png | bin | 0 -> 13552 bytes | |||
-rw-r--r-- | test/bg_large_w.png | bin | 0 -> 87657 bytes | |||
-rw-r--r-- | test/bg_large_w_center.png | bin | 0 -> 29104 bytes | |||
-rw-r--r-- | test/bg_large_w_fill.png | bin | 0 -> 125501 bytes | |||
-rw-r--r-- | test/bg_large_w_max.png | bin | 0 -> 17916 bytes | |||
-rw-r--r-- | test/bg_large_w_scale.png | bin | 0 -> 102207 bytes | |||
-rw-r--r-- | test/bg_large_w_tile.png | bin | 0 -> 19070 bytes | |||
-rw-r--r-- | test/bg_small_h.png | bin | 0 -> 2453 bytes | |||
-rw-r--r-- | test/bg_small_h_center.png | bin | 0 -> 2243 bytes | |||
-rw-r--r-- | test/bg_small_h_fill.png | bin | 0 -> 77707 bytes | |||
-rw-r--r-- | test/bg_small_h_max.png | bin | 0 -> 40925 bytes | |||
-rw-r--r-- | test/bg_small_h_scale.png | bin | 0 -> 69223 bytes | |||
-rw-r--r-- | test/bg_small_h_tile.png | bin | 0 -> 9703 bytes | |||
-rw-r--r-- | test/bg_small_w.png | bin | 0 -> 1229 bytes | |||
-rw-r--r-- | test/bg_small_w_center.png | bin | 0 -> 1919 bytes | |||
-rw-r--r-- | test/bg_small_w_fill.png | bin | 0 -> 68182 bytes | |||
-rw-r--r-- | test/bg_small_w_max.png | bin | 0 -> 35987 bytes | |||
-rw-r--r-- | test/bg_small_w_scale.png | bin | 0 -> 68174 bytes | |||
-rw-r--r-- | test/bg_small_w_tile.png | bin | 0 -> 12148 bytes | |||
-rwxr-xr-x | test/feh-bg.i | 14 |
25 files changed, 13 insertions, 1 deletions
diff --git a/test/bg_large_h.png b/test/bg_large_h.png Binary files differnew file mode 100644 index 0000000..8167288 --- /dev/null +++ b/test/bg_large_h.png diff --git a/test/bg_large_h_center.png b/test/bg_large_h_center.png Binary files differnew file mode 100644 index 0000000..711704f --- /dev/null +++ b/test/bg_large_h_center.png diff --git a/test/bg_large_h_fill.png b/test/bg_large_h_fill.png Binary files differnew file mode 100644 index 0000000..8503fc8 --- /dev/null +++ b/test/bg_large_h_fill.png diff --git a/test/bg_large_h_max.png b/test/bg_large_h_max.png Binary files differnew file mode 100644 index 0000000..bbad392 --- /dev/null +++ b/test/bg_large_h_max.png diff --git a/test/bg_large_h_scale.png b/test/bg_large_h_scale.png Binary files differnew file mode 100644 index 0000000..5e88336 --- /dev/null +++ b/test/bg_large_h_scale.png diff --git a/test/bg_large_h_tile.png b/test/bg_large_h_tile.png Binary files differnew file mode 100644 index 0000000..f16d150 --- /dev/null +++ b/test/bg_large_h_tile.png diff --git a/test/bg_large_w.png b/test/bg_large_w.png Binary files differnew file mode 100644 index 0000000..dc1f30b --- /dev/null +++ b/test/bg_large_w.png diff --git a/test/bg_large_w_center.png b/test/bg_large_w_center.png Binary files differnew file mode 100644 index 0000000..1f425ea --- /dev/null +++ b/test/bg_large_w_center.png diff --git a/test/bg_large_w_fill.png b/test/bg_large_w_fill.png Binary files differnew file mode 100644 index 0000000..61b5448 --- /dev/null +++ b/test/bg_large_w_fill.png diff --git a/test/bg_large_w_max.png b/test/bg_large_w_max.png Binary files differnew file mode 100644 index 0000000..6b3b450 --- /dev/null +++ b/test/bg_large_w_max.png diff --git a/test/bg_large_w_scale.png b/test/bg_large_w_scale.png Binary files differnew file mode 100644 index 0000000..20cfab3 --- /dev/null +++ b/test/bg_large_w_scale.png diff --git a/test/bg_large_w_tile.png b/test/bg_large_w_tile.png Binary files differnew file mode 100644 index 0000000..16855f7 --- /dev/null +++ b/test/bg_large_w_tile.png diff --git a/test/bg_small_h.png b/test/bg_small_h.png Binary files differnew file mode 100644 index 0000000..74f9b29 --- /dev/null +++ b/test/bg_small_h.png diff --git a/test/bg_small_h_center.png b/test/bg_small_h_center.png Binary files differnew file mode 100644 index 0000000..3071ee6 --- /dev/null +++ b/test/bg_small_h_center.png diff --git a/test/bg_small_h_fill.png b/test/bg_small_h_fill.png Binary files differnew file mode 100644 index 0000000..76b2702 --- /dev/null +++ b/test/bg_small_h_fill.png diff --git a/test/bg_small_h_max.png b/test/bg_small_h_max.png Binary files differnew file mode 100644 index 0000000..9caa5d3 --- /dev/null +++ b/test/bg_small_h_max.png diff --git a/test/bg_small_h_scale.png b/test/bg_small_h_scale.png Binary files differnew file mode 100644 index 0000000..d51d64a --- /dev/null +++ b/test/bg_small_h_scale.png diff --git a/test/bg_small_h_tile.png b/test/bg_small_h_tile.png Binary files differnew file mode 100644 index 0000000..5f66296 --- /dev/null +++ b/test/bg_small_h_tile.png diff --git a/test/bg_small_w.png b/test/bg_small_w.png Binary files differnew file mode 100644 index 0000000..d281c6b --- /dev/null +++ b/test/bg_small_w.png diff --git a/test/bg_small_w_center.png b/test/bg_small_w_center.png Binary files differnew file mode 100644 index 0000000..d5635c3 --- /dev/null +++ b/test/bg_small_w_center.png diff --git a/test/bg_small_w_fill.png b/test/bg_small_w_fill.png Binary files differnew file mode 100644 index 0000000..812bb18 --- /dev/null +++ b/test/bg_small_w_fill.png diff --git a/test/bg_small_w_max.png b/test/bg_small_w_max.png Binary files differnew file mode 100644 index 0000000..d38f45e --- /dev/null +++ b/test/bg_small_w_max.png diff --git a/test/bg_small_w_scale.png b/test/bg_small_w_scale.png Binary files differnew file mode 100644 index 0000000..2688754 --- /dev/null +++ b/test/bg_small_w_scale.png diff --git a/test/bg_small_w_tile.png b/test/bg_small_w_tile.png Binary files differnew file mode 100644 index 0000000..b4bf86f --- /dev/null +++ b/test/bg_small_w_tile.png 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"); |