edje: update position after avoiding rounding error.

This commit is contained in:
Cedric Bail 2013-07-18 16:52:57 +09:00
parent 397e0b90a2
commit 9d54653a31
1 changed files with 1 additions and 3 deletions

View File

@ -144,9 +144,7 @@ START_TEST(edje_test_complex_layout)
* rel2.relative: 1.0 1.0; rel2.offset -5 -5; */
edje_object_part_geometry_get(obj, "l", &x, &y, &w, &h);
fail_if(x != 5 || y != 500+2);
fail_if(w != 1000-5-5 + 1 || h != 500-5-2 + 1);
fail_if(w != 1000-5-5 + 1 || h != 500-5-2 + 2);
EDJE_TEST_FREE_EVAS();
}