termo/t/01base.c

23 lines
362 B
C

#include <stdio.h>
#include "../termkey.h"
#include "taplib.h"
int main(int argc, char *argv[])
{
TermKey *tk;
plan_tests(3);
tk = termkey_new_abstract("vt100", 0);
ok(!!tk, "termkey_new_abstract");
is_int(termkey_get_buffer_size(tk), 256, "termkey_get_buffer_size");
termkey_destroy(tk);
ok(1, "termkey_free");
return exit_status();
}