static void test_visitor_out_number(TestOutputVisitorData *data,

                                    const void *unused)

{

    double value = 3.14;

    QObject *obj;



    visit_type_number(data->ov, NULL, &value, &error_abort);



    obj = visitor_get(data);

    g_assert(qobject_type(obj) == QTYPE_QFLOAT);

    g_assert(qfloat_get_double(qobject_to_qfloat(obj)) == value);

}

static void test_visitor_out_number(TestOutputVisitorData *data,

                                    const void *unused)

{

    double value = 3.14;

    QObject *obj;



    visit_type_number(data->ov, NULL, &value, &error_abort);



    obj = visitor_get(data);

    g_assert(qobject_type(obj) == QTYPE_QFLOAT);

    g_assert(qfloat_get_double(qobject_to_qfloat(obj)) == value);

}

static void FUNC_0(TestOutputVisitorData *VAR_0,

                                    const void *VAR_1)

{

    double VAR_2 = 3.14;

    QObject *obj;



    visit_type_number(VAR_0->ov, NULL, &VAR_2, &error_abort);



    obj = visitor_get(VAR_0);

    g_assert(qobject_type(obj) == QTYPE_QFLOAT);

    g_assert(qfloat_get_double(qobject_to_qfloat(obj)) == VAR_2);

}

static void FUNC_0(TestOutputVisitorData *VAR_0,
const void *VAR_1)
{ double VAR_2 = 3.14; QObject *obj; visit_type_number(VAR_0->ov, NULL, &VAR_2, &error_abort); obj = visitor_get(VAR_0); g_assert(qobject_type(obj) == QTYPE_QFLOAT); g_assert(qfloat_get_double(qobject_to_qfloat(obj)) == VAR_2); }