From 2c72709d653e359624e4412cc77a3b060fd61ee3 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 5 Feb 2016 14:24:34 -0500 Subject: [PATCH] eina: add test covering tiler rect add/del/add of same geometry regions ref ec2ec3e9d13f64b5a4792717204deb59eb9d4caa --- src/tests/eina/eina_test_tiler.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/tests/eina/eina_test_tiler.c b/src/tests/eina/eina_test_tiler.c index 0f3961e..bb15923 100644 --- a/src/tests/eina/eina_test_tiler.c +++ b/src/tests/eina/eina_test_tiler.c @@ -207,6 +207,12 @@ START_TEST(eina_test_tiler_stable) EINA_RECTANGLE_SET(&r, 40, 40, 20, 20); eina_tiler_rect_del(tl, &r); + EINA_RECTANGLE_SET(&r, 50, 50, 20, 20); + fail_if(!eina_tiler_rect_add(tl, &r)); + + EINA_RECTANGLE_SET(&r, 40, 40, 20, 20); + eina_tiler_rect_del(tl, &r); + it = eina_tiler_iterator_new(tl); fail_if(!it); -- 2.7.4