MCPcopy Create free account
hub / github.com/git/git / test_oidtree__each

Function test_oidtree__each

t/unit-tests/u-oidtree.c:99–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99void test_oidtree__each(void)
100{
101 FILL_TREE(&ot, "f", "9", "8", "123", "321", "320", "a", "b", "c", "d", "e");
102 check_each(&ot, "12300", "123", NULL);
103 check_each(&ot, "3211", NULL); /* should not reach callback */
104 check_each(&ot, "3210", "321", NULL);
105 check_each(&ot, "32100", "321", NULL);
106 check_each(&ot, "32", "320", "321", NULL);
107}
108
109void test_oidtree__insert_overwrites_data(void)
110{

Callers

nothing calls this directly

Calls 1

check_eachFunction · 0.85

Tested by

no test coverage detected