Beispiel #1
0
void test_equals_function(caValue* a, std::string b,
        const char* aText, const char* bText,
        int line, const char* file)
{
    return test_equals_function(is_string(a) ? as_string(a) : to_string(a),
            b, aText, bText, line, file);
}
Beispiel #2
0
void test_equals_function(Value* a, std::string b,
        const char* aText, const char* bText,
        int line, const char* file)
{
    Value a_str;
    string_append(&a_str, a);
    return test_equals_function(as_string(&a_str), b, aText, bText, line, file);
}
Beispiel #3
0
void test_equals_function(caValue* a, float b,
        const char* aText, const char* bText,
        int line, const char* file)
{
    return test_equals_function(to_float(a), b, aText, bText, line, file);
}