aboutsummaryrefslogtreecommitdiff
path: root/t/01base.c
diff options
context:
space:
mode:
Diffstat (limited to 't/01base.c')
-rw-r--r--t/01base.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/t/01base.c b/t/01base.c
deleted file mode 100644
index 39e0e39..0000000
--- a/t/01base.c
+++ /dev/null
@@ -1,29 +0,0 @@
-#include <stdio.h>
-#include "../termkey.h"
-#include "taplib.h"
-
-int
-main (int argc, char *argv[])
-{
- termkey_t *tk;
-
- plan_tests (6);
-
- tk = termkey_new_abstract ("vt100", NULL, 0);
- ok (!!tk, "termkey_new_abstract");
- is_int (termkey_get_buffer_size (tk), 256, "termkey_get_buffer_size");
- ok (termkey_is_started (tk), "termkey_is_started true after construction");
-
- termkey_stop (tk);
- ok (!termkey_is_started (tk),
- "termkey_is_started false after termkey_stop()");
-
- termkey_start (tk);
- ok (termkey_is_started (tk),
- "termkey_is_started true after termkey_start()");
-
- termkey_destroy (tk);
-
- ok (1, "termkey_free");
- return exit_status ();
-}