summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@samsung.com>2013-07-18 16:52:57 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-07-18 16:52:57 +0900
commit9d54653a31f7ef4a530f3a497cfe0bd01cbb64fa (patch)
tree58a4d0aaf6da8e77169daeddf99bac77842e31f2 /src
parent397e0b90a2ca0e9d935fd23ccb426a0ba77c0187 (diff)
edje: update position after avoiding rounding error.
Diffstat (limited to 'src')
-rw-r--r--src/tests/edje/edje_test_edje.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tests/edje/edje_test_edje.c b/src/tests/edje/edje_test_edje.c
index 9f7fa991a3..7a3143693c 100644
--- a/src/tests/edje/edje_test_edje.c
+++ b/src/tests/edje/edje_test_edje.c
@@ -144,9 +144,7 @@ START_TEST(edje_test_complex_layout)
144 * rel2.relative: 1.0 1.0; rel2.offset -5 -5; */ 144 * rel2.relative: 1.0 1.0; rel2.offset -5 -5; */
145 edje_object_part_geometry_get(obj, "l", &x, &y, &w, &h); 145 edje_object_part_geometry_get(obj, "l", &x, &y, &w, &h);
146 fail_if(x != 5 || y != 500+2); 146 fail_if(x != 5 || y != 500+2);
147 fail_if(w != 1000-5-5 + 1 || h != 500-5-2 + 1); 147 fail_if(w != 1000-5-5 + 1 || h != 500-5-2 + 2);
148
149
150 148
151 EDJE_TEST_FREE_EVAS(); 149 EDJE_TEST_FREE_EVAS();
152} 150}