Home
last modified time | relevance | path

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

/third_party/cJSON/tests/
Dprint_object.c27 static void assert_print_object(const char * const expected, const char * const input) in assert_print_object() function
73 assert_print_object("{\n}", "{}"); in print_object_should_print_empty_objects()
79 assert_print_object("{\n\t\"one\":\t1\n}", "{\"one\":1}"); in print_object_should_print_objects_with_one_element()
80 assert_print_object("{\n\t\"hello\":\t\"world!\"\n}", "{\"hello\":\"world!\"}"); in print_object_should_print_objects_with_one_element()
81 assert_print_object("{\n\t\"array\":\t[]\n}", "{\"array\":[]}"); in print_object_should_print_objects_with_one_element()
82 assert_print_object("{\n\t\"null\":\tnull\n}", "{\"null\":null}"); in print_object_should_print_objects_with_one_element()
87assert_print_object("{\n\t\"one\":\t1,\n\t\"two\":\t2,\n\t\"three\":\t3\n}", "{\"one\":1,\"two\":2… in print_object_should_print_objects_with_multiple_elements()
88assert_print_object("{\n\t\"one\":\t1,\n\t\"NULL\":\tnull,\n\t\"TRUE\":\ttrue,\n\t\"FALSE\":\tfals… in print_object_should_print_objects_with_multiple_elements()