Evas text test: Use the more verbose test macros.

SVN revision: 82799
This commit is contained in:
Tom Hacohen 2013-01-15 11:07:22 +00:00
parent d925820fa9
commit e183866d21
1 changed files with 3 additions and 3 deletions

View File

@ -126,13 +126,13 @@ START_TEST(evas_text_geometries)
for (x = 0 ; x <= (adv - 1) ; x++)
{
pos = evas_object_text_last_up_to_pos(to, x, 0);
fail_if(pos < prev_pos);
_ck_assert_int(pos, >=, prev_pos);
prev_pos = pos;
}
pos = evas_object_text_last_up_to_pos(to, x, 0);
fail_if(pos != -1);
ck_assert_int_eq(pos, -1);
pos = evas_object_text_last_up_to_pos(to, -50, 0);
fail_if(pos != -1);
ck_assert_int_eq(pos, -1);
END_TEXT_TEST();
}