aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/heapsort/heapsort.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/monniaux/heapsort/heapsort.h')
-rw-r--r--test/monniaux/heapsort/heapsort.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/monniaux/heapsort/heapsort.h b/test/monniaux/heapsort/heapsort.h
new file mode 100644
index 00000000..247d6773
--- /dev/null
+++ b/test/monniaux/heapsort/heapsort.h
@@ -0,0 +1,7 @@
+#include <stdint.h>
+#include <stdbool.h>
+
+typedef uint64_t data;
+void heapsort(data *A, int len);
+void data_vec_random(data *a, unsigned len);
+bool data_vec_is_sorted(const data *a, unsigned len);