forked from enlightenment/efl
Evas text test: Use the more verbose test macros.
SVN revision: 82799
This commit is contained in:
parent
d925820fa9
commit
e183866d21
|
@ -126,13 +126,13 @@ START_TEST(evas_text_geometries)
|
||||||
for (x = 0 ; x <= (adv - 1) ; x++)
|
for (x = 0 ; x <= (adv - 1) ; x++)
|
||||||
{
|
{
|
||||||
pos = evas_object_text_last_up_to_pos(to, x, 0);
|
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;
|
prev_pos = pos;
|
||||||
}
|
}
|
||||||
pos = evas_object_text_last_up_to_pos(to, x, 0);
|
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);
|
pos = evas_object_text_last_up_to_pos(to, -50, 0);
|
||||||
fail_if(pos != -1);
|
ck_assert_int_eq(pos, -1);
|
||||||
|
|
||||||
END_TEXT_TEST();
|
END_TEXT_TEST();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue