Lines Matching refs:micro
35 unsigned int major, minor, micro;
38 hb_version (&major, &minor, µ);
42 g_assert_cmpint (micro, ==, HB_VERSION_MICRO);
44 s = g_strdup_printf ("%u.%u.%u", major, minor, micro);
49 g_assert (HB_VERSION_ATLEAST (major, minor, micro));
51 g_assert (HB_VERSION_ATLEAST (major-1, minor, micro));
53 g_assert (HB_VERSION_ATLEAST (major, minor-1, micro));
54 if (micro)
55 g_assert (HB_VERSION_ATLEAST (major, minor, micro-1));
56 g_assert (!HB_VERSION_ATLEAST (major+1, minor, micro));
57 g_assert (!HB_VERSION_ATLEAST (major, minor+1, micro));
58 g_assert (!HB_VERSION_ATLEAST (major, minor, micro+1));
59 g_assert (!HB_VERSION_ATLEAST (major, minor, micro+1));
61 g_assert (hb_version_atleast (major, minor, micro));
63 g_assert (hb_version_atleast (major-1, minor, micro));
65 g_assert (hb_version_atleast (major, minor-1, micro));
66 if (micro)
67 g_assert (hb_version_atleast (major, minor, micro-1));
68 g_assert (!hb_version_atleast (major+1, minor, micro));
69 g_assert (!hb_version_atleast (major, minor+1, micro));
70 g_assert (!hb_version_atleast (major, minor, micro+1));