summaryrefslogtreecommitdiffstats
path: root/test/test.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-02-21 15:39:14 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-02-21 15:39:14 +0100
commit29aec734715f7c4d6b8157ac514eff4fd8dd0242 (patch)
tree82131d93179d4806966d1a9d7ccd46c695fbd5ca /test/test.c
parent28619821bc90ed4c15844b2e6b6a5a2971ef5f2e (diff)
downloaduca-29aec734715f7c4d6b8157ac514eff4fd8dd0242.tar.gz
uca-29aec734715f7c4d6b8157ac514eff4fd8dd0242.tar.bz2
uca-29aec734715f7c4d6b8157ac514eff4fd8dd0242.tar.xz
uca-29aec734715f7c4d6b8157ac514eff4fd8dd0242.zip
Include config.h and test the library
Diffstat (limited to 'test/test.c')
-rw-r--r--test/test.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/test.c b/test/test.c
new file mode 100644
index 0000000..a1689ef
--- /dev/null
+++ b/test/test.c
@@ -0,0 +1,12 @@
+
+#include <stdio.h>
+#include "uca.h"
+
+int main(int argc, char *argv[])
+{
+ struct uca_t *uca = uca_init();
+ if (uca == NULL) {
+ printf("Couldn't find a camera\n");
+ }
+ return 0;
+}