[test/font] Test get_face() / get_parent()
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 12 May 2011 03:06:02 +0000 (23:06 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 12 May 2011 03:06:02 +0000 (23:06 -0400)
test/test-font.c

index d75ae99..bd2655b 100644 (file)
@@ -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);