From db9f4eb4e004fadae9d540522d1d21c3bbe659b0 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 11 May 2011 23:06:02 -0400 Subject: [PATCH] [test/font] Test get_face() / get_parent() --- test/test-font.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test-font.c b/test/test-font.c index d75ae9911..bd2655b23 100644 --- a/test/test-font.c +++ b/test/test-font.c @@ -72,6 +72,10 @@ test_font_properties (void) hb_face_destroy (face); + g_assert (hb_font_get_face (font) == face); + g_assert (hb_font_get_parent (font) == NULL); + + /* Check scale */ hb_font_get_scale (font, NULL, NULL);