Searched refs:expected_types (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/subsys/mgmt/mcumgr/fs_mgmt_hash_supported/src/ |
D | main.c | 37 struct hash_checksum_type expected_types[] = { in ZTEST() local 120 while (entry < ARRAY_SIZE(expected_types)) { in ZTEST() 121 if (memcmp(key.value, expected_types[entry].name, MIN(key.len, in ZTEST() 122 strlen(expected_types[entry].name))) == 0) { in ZTEST() 123 zassert_equal(expected_types[entry].found, false, in ZTEST() 125 expected_types[entry].found = true; in ZTEST() 132 zassert_equal(entry < ARRAY_SIZE(expected_types), true, in ZTEST() 160 zassert_equal(expected_types[entry].format, format_value, in ZTEST() 162 zassert_equal(expected_types[entry].size, size_value, in ZTEST() 164 expected_types[entry].entries_matched = true; in ZTEST()
|