2011-03-31 12:38:40 +02:00
|
|
|
#include <stdio.h>
|
2011-03-31 14:51:21 +02:00
|
|
|
#include "../termkey.h"
|
2011-03-31 13:11:19 +02:00
|
|
|
#include "taplib.h"
|
2011-03-31 12:38:40 +02:00
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
|
|
|
TermKey *tk;
|
|
|
|
|
2011-03-31 13:11:19 +02:00
|
|
|
plan_tests(2);
|
2011-03-31 12:38:40 +02:00
|
|
|
|
|
|
|
tk = termkey_new(0, TERMKEY_FLAG_NOTERMIOS);
|
|
|
|
|
2011-03-31 13:11:19 +02:00
|
|
|
ok(!!tk, "termkey_new");
|
2011-03-31 12:38:40 +02:00
|
|
|
|
|
|
|
termkey_destroy(tk);
|
|
|
|
|
2011-03-31 13:11:19 +02:00
|
|
|
ok(1, "termkey_free");
|
2011-03-31 12:38:40 +02:00
|
|
|
|
2011-03-31 13:13:37 +02:00
|
|
|
return exit_status();
|
2011-03-31 12:38:40 +02:00
|
|
|
}
|