static void test_qemu_strtosz_metric(void)

{

    const char *str = "12345k";

    char *endptr = NULL;

    int64_t res;



    res = qemu_strtosz_metric(str, &endptr);

    g_assert_cmpint(res, ==, 12345000);

    g_assert(endptr == str + 6);

}

static void test_qemu_strtosz_metric(void)

{

    const char *str = "12345k";

    char *endptr = NULL;

    int64_t res;



    res = qemu_strtosz_metric(str, &endptr);

    g_assert_cmpint(res, ==, 12345000);

    g_assert(endptr == str + 6);

}

static void FUNC_0(void)

{

    const char *VAR_0 = "12345k";

    char *VAR_1 = NULL;

    int64_t res;



    res = qemu_strtosz_metric(VAR_0, &VAR_1);

    g_assert_cmpint(res, ==, 12345000);

    g_assert(VAR_1 == VAR_0 + 6);

}

static void FUNC_0(void)
{ const char *VAR_0 = "12345k"; char *VAR_1 = NULL; int64_t res; res = qemu_strtosz_metric(VAR_0, &VAR_1); g_assert_cmpint(res, ==, 12345000); g_assert(VAR_1 == VAR_0 + 6); }