aboutsummaryrefslogtreecommitdiff
path: root/unittest/thash.c
diff options
context:
space:
mode:
authorMarin Ivanov <[email protected]>2025-07-25 10:17:14 +0300
committerMarin Ivanov <[email protected]>2026-01-18 20:09:26 +0200
commit0168586485e6310c598713c911b1dec5618d61a1 (patch)
tree6aabc2a12ef8fef70683f5389bea00f948015f77 /unittest/thash.c
Initial commitHEADmaster
* codec2 cut-down version 1.2.0 * Remove codebook and generation of sources * remove c2dec c2enc binaries * prepare for emscripten
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;
+}