aboutsummaryrefslogtreecommitdiff
path: root/unittest/thash.c
diff options
context:
space:
mode:
Diffstat (limited to 'unittest/thash.c')
-rw-r--r--unittest/thash.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/unittest/thash.c b/unittest/thash.c
new file mode 100644
index 0000000..d936728
--- /dev/null
+++ b/unittest/thash.c
@@ -0,0 +1,18 @@
+/*---------------------------------------------------------------------------*\
+
+ FILE........: thash.c
+ AUTHOR......: David Rowe
+ DATE CREATED: July 2020
+
+ Simple test program for freeDV API get hash function
+
+\*---------------------------------------------------------------------------*/
+
+#include <stdio.h>
+
+#include "freedv_api.h"
+
+int main(void) {
+ printf("%s\n", freedv_get_hash());
+ return 0;
+}