Home
last modified time | relevance | path

Searched refs:assert_parse_value (Results 1 – 1 of 1) sorted by relevance

/third_party/cJSON/tests/
Dparse_value.c44 static void assert_parse_value(const char *string, int type) in assert_parse_value() function
57 assert_parse_value("null", cJSON_NULL); in parse_value_should_parse_null()
63 assert_parse_value("true", cJSON_True); in parse_value_should_parse_true()
69 assert_parse_value("false", cJSON_False); in parse_value_should_parse_false()
75 assert_parse_value("1.5", cJSON_Number); in parse_value_should_parse_number()
81 assert_parse_value("\"\"", cJSON_String); in parse_value_should_parse_string()
83 assert_parse_value("\"hello\"", cJSON_String); in parse_value_should_parse_string()
89 assert_parse_value("[]", cJSON_Array); in parse_value_should_parse_array()
95 assert_parse_value("{}", cJSON_Object); in parse_value_should_parse_object()