MCPcopy Index your code
hub / github.com/git/git / test_strvec__dynamic_init

Function test_strvec__dynamic_init

t/unit-tests/u-strvec.c:26–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26void test_strvec__dynamic_init(void)
27{
28 struct strvec vec;
29
30 strvec_init(&vec);
31 cl_assert_equal_p(vec.v, empty_strvec);
32 cl_assert_equal_i(vec.nr, 0);
33 cl_assert_equal_i(vec.alloc, 0);
34}
35
36void test_strvec__clear(void)
37{

Callers

nothing calls this directly

Calls 1

strvec_initFunction · 0.85

Tested by

no test coverage detected