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

Function cjson_compare_should_compare_strings

tests/compare_tests.c:112–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112static void cjson_compare_should_compare_strings(void)
113{
114 TEST_ASSERT_TRUE(compare_from_string("\"abcdefg\"", "\"abcdefg\"", true));
115 TEST_ASSERT_TRUE(compare_from_string("\"abcdefg\"", "\"abcdefg\"", false));
116
117 TEST_ASSERT_FALSE(compare_from_string("\"ABCDEFG\"", "\"abcdefg\"", true));
118 TEST_ASSERT_FALSE(compare_from_string("\"ABCDEFG\"", "\"abcdefg\"", false));
119}
120
121static void cjson_compare_should_compare_raw(void)
122{

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…