From 706e6594310a490956d21e939c23de2b5dbe1561 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=B8ren=20Sandmann=20Pedersen?= Date: Wed, 8 Jul 2009 18:39:43 -0400 Subject: [PATCH] Add a box with y2 < y1 in region-test.c --- test/region-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/region-test.c b/test/region-test.c index a1e7cbc..e9a6421 100644 --- a/test/region-test.c +++ b/test/region-test.c @@ -12,6 +12,7 @@ main () pixman_box32_t boxes[] = { { 10, 10, 20, 20 }, { 30, 30, 30, 40 }, + { 50, 45, 60, 44 }, }; int i; pixman_box32_t *b; @@ -31,7 +32,7 @@ main () * but using an empty rectangle for initialization should * work. */ - pixman_region32_init_rects (&r1, boxes, 2); + pixman_region32_init_rects (&r1, boxes, 3); b = pixman_region32_rectangles (&r1, &i); @@ -45,4 +46,3 @@ main () return 0; } - -- 2.7.4