MCPcopy Create free account
hub / github.com/DaveGamble/cJSON / cjson_compare_should_compare_null

Function cjson_compare_should_compare_null

tests/compare_tests.c:92–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92static void cjson_compare_should_compare_null(void)
93{
94 TEST_ASSERT_TRUE(compare_from_string("null", "null", true));
95 TEST_ASSERT_TRUE(compare_from_string("null", "null", false));
96
97 TEST_ASSERT_FALSE(compare_from_string("null", "true", true));
98 TEST_ASSERT_FALSE(compare_from_string("null", "true", false));
99}
100
101static void cjson_compare_should_not_accept_invalid_types(void)
102{

Callers

nothing calls this directly

Calls 1

compare_from_stringFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…