summaryrefslogtreecommitdiff
path: root/tests/test_calls.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_calls.c')
-rw-r--r--tests/test_calls.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/test_calls.c b/tests/test_calls.c
deleted file mode 100644
index b53fcd6..0000000
--- a/tests/test_calls.c
+++ /dev/null
@@ -1,19 +0,0 @@
-#include <stdio.h>
-
-#include <dapi/comm.h>
-#include <dapi/calls.h>
-
-int main()
- {
- int ord;
- DapiConnection* conn = dapi_connectAndInit();
- if( conn == NULL )
- {
- fprintf( stderr, "Cannot connect!\n" );
- return 1;
- }
- ord = dapi_ButtonOrder( conn );
- printf( "Order: %d (%s)\n", ord, ord == 0 ? "Failed" : ord == 1 ? "Ok/Cancel" : "Cancel/Ok" );
- dapi_close( conn );
- return 0;
- }