static void test_qemu_strtoul_full_correct(void)

{

    const char *str = "123";

    unsigned long res = 999;

    int err;



    err = qemu_strtoul(str, NULL, 0, &res);



    g_assert_cmpint(err, ==, 0);

    g_assert_cmpint(res, ==, 123);

}

static void test_qemu_strtoul_full_correct(void)

{

    const char *str = "123";

    unsigned long res = 999;

    int err;



    err = qemu_strtoul(str, NULL, 0, &res);



    g_assert_cmpint(err, ==, 0);

    g_assert_cmpint(res, ==, 123);

}

static void FUNC_0(void)

{

    const char *VAR_0 = "123";

    unsigned long VAR_1 = 999;

    int VAR_2;



    VAR_2 = qemu_strtoul(VAR_0, NULL, 0, &VAR_1);



    g_assert_cmpint(VAR_2, ==, 0);

    g_assert_cmpint(VAR_1, ==, 123);

}

static void FUNC_0(void)
{ const char *VAR_0 = "123"; unsigned long VAR_1 = 999; int VAR_2; VAR_2 = qemu_strtoul(VAR_0, NULL, 0, &VAR_1); g_assert_cmpint(VAR_2, ==, 0); g_assert_cmpint(VAR_1, ==, 123); }