add two tests

This commit is contained in:
leitner
2002-10-17 20:32:25 +00:00
parent 053aadde58
commit 5589008c77
2 changed files with 25 additions and 0 deletions

10
test/stralloc_buffer.c Normal file
View File

@@ -0,0 +1,10 @@
#include "stralloc.h"
#include "buffer.h"
main() {
static stralloc sa;
if (buffer_get_token_sa(buffer_0,&sa," \t\n",3)==0) {
buffer_putsa(buffer_1,&sa);
buffer_putnlflush(buffer_1);
}
}