summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-02-05 14:24:34 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-02-05 14:35:28 -0500
commit2c72709d653e359624e4412cc77a3b060fd61ee3 (patch)
tree9126c46d6c4f73da516055a20760df567c9bcb27
parent6a93062b25409d999118b7647202573e5040c853 (diff)
downloadefl-2c72709d653e359624e4412cc77a3b060fd61ee3.tar.gz
eina: add test covering tiler rect add/del/add of same geometry regions
ref ec2ec3e9d13f64b5a4792717204deb59eb9d4caa
-rw-r--r--src/tests/eina/eina_test_tiler.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tests/eina/eina_test_tiler.c b/src/tests/eina/eina_test_tiler.c
index 0f3961e946..bb159234f9 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);