コード例 #1
0
ファイル: test.c プロジェクト: Leungtamir/json-tutorial
static void test_parse() {
    test_parse_null();
    test_parse_true();
    test_parse_false();
    test_parse_number();
    test_parse_string();
    test_parse_array();
    test_parse_expect_value();
    test_parse_invalid_value();
    test_parse_root_not_singular();
    test_parse_number_too_big();
    test_parse_miss_quotation_mark();
    test_parse_invalid_string_escape();
    test_parse_invalid_string_char();
    test_parse_invalid_unicode_hex();
    test_parse_invalid_unicode_surrogate();
    test_parse_miss_comma_or_square_bracket();
}
コード例 #2
0
ファイル: parser_tests.c プロジェクト: iankronquist/yaz
int main() {
    test_parse_number();
    test_parse_paren();
    test_parse_identifier();
    return RETURN_VALUE;
}
コード例 #3
0
ファイル: test_util.c プロジェクト: JohnOH/phatio
void test_util(void)
{
    test_string_char_source();
    test_find_index();
	test_parse_number();
}