diff options
Diffstat (limited to 'tests/01base.c')
-rw-r--r-- | tests/01base.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/01base.c b/tests/01base.c index 39e0e39..b5e1f76 100644 --- a/tests/01base.c +++ b/tests/01base.c @@ -1,29 +1,29 @@ #include <stdio.h> -#include "../termkey.h" +#include "../termo.h" #include "taplib.h" int main (int argc, char *argv[]) { - termkey_t *tk; + termo_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"); + tk = termo_new_abstract ("vt100", NULL, 0); + ok (!!tk, "termo_new_abstract"); + is_int (termo_get_buffer_size (tk), 256, "termo_get_buffer_size"); + ok (termo_is_started (tk), "termo_is_started true after construction"); - termkey_stop (tk); - ok (!termkey_is_started (tk), - "termkey_is_started false after termkey_stop()"); + termo_stop (tk); + ok (!termo_is_started (tk), + "termo_is_started false after termo_stop()"); - termkey_start (tk); - ok (termkey_is_started (tk), - "termkey_is_started true after termkey_start()"); + termo_start (tk); + ok (termo_is_started (tk), + "termo_is_started true after termo_start()"); - termkey_destroy (tk); + termo_destroy (tk); - ok (1, "termkey_free"); + ok (1, "termo_free"); return exit_status (); } |