#include <stdio.h>
#include <stdlib.h>
#include "src/csb.h"
int main(void) {
csb_buf *buf = csb_new_withstring("This is a test string.");
if (buf) {
if (strcmp("This is a test string.", csb_cstring(buf)) == 0) {
csb_destroy(buf);
return (0);
}
csb_destroy(buf);
}
return(1);
}