Searched refs:largestr (Results 1 – 1 of 1) sorted by relevance
56 const char *largestr = "xyzxyzxyz"; in test_scratchbuf_heap() local68 assert_return(scratchbuf_alloc(&sbuf, strlen(largestr) + 1) == 0, EXIT_FAILURE); in test_scratchbuf_heap()70 assert_return(sbuf.size == strlen(largestr) + 1, EXIT_FAILURE); in test_scratchbuf_heap()72 memcpy(scratchbuf_str(&sbuf), largestr, strlen(largestr) + 1); in test_scratchbuf_heap()73 assert_return(strcmp(scratchbuf_str(&sbuf), largestr) == 0, EXIT_FAILURE); in test_scratchbuf_heap()