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