#include "test-lib.h"
#include "strbuf.h"
static void setup(void (*f)(struct strbuf*, const void*),
const void *data)
{ … }
static void setup_populated(void (*f)(struct strbuf*, const void*),
const char *init_str, const void *data)
{ … }
static int assert_sane_strbuf(struct strbuf *buf)
{ … }
static void t_static_init(void)
{ … }
static void t_dynamic_init(void)
{ … }
static void t_addch(struct strbuf *buf, const void *data)
{ … }
static void t_addstr(struct strbuf *buf, const void *data)
{ … }
int cmd_main(int argc UNUSED, const char **argv UNUSED)
{ … }