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

Function test_oidtree__contains

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

Source from the content-addressed store, hash-verified

86}
87
88void test_oidtree__contains(void)
89{
90 FILL_TREE(&ot, "444", "1", "2", "3", "4", "5", "a", "b", "c", "d", "e");
91 check_contains(&ot, "44", false);
92 check_contains(&ot, "441", false);
93 check_contains(&ot, "440", false);
94 check_contains(&ot, "444", true);
95 check_contains(&ot, "4440", true);
96 check_contains(&ot, "4444", false);
97}
98
99void test_oidtree__each(void)
100{

Callers

nothing calls this directly

Calls 1

check_containsFunction · 0.85

Tested by

no test coverage detected