aboutsummaryrefslogtreecommitdiffstats
path: root/libglitter_compose_uint64.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-01-23 20:34:03 +0100
committerMattias Andrée <maandree@kth.se>2023-01-23 20:34:03 +0100
commitb6bb688199abc342a6e85f80859c8cbb5a41b58a (patch)
tree46d953c3689f5f75210c7667c3a4f1c4d1386aab /libglitter_compose_uint64.c
parentAdd libglitter_reorder_rasters (diff)
downloadlibglitter-b6bb688199abc342a6e85f80859c8cbb5a41b58a.tar.gz
libglitter-b6bb688199abc342a6e85f80859c8cbb5a41b58a.tar.bz2
libglitter-b6bb688199abc342a6e85f80859c8cbb5a41b58a.tar.xz
Add some tests
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libglitter_compose_uint64.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/libglitter_compose_uint64.c b/libglitter_compose_uint64.c
index 91d6b88..6784055 100644
--- a/libglitter_compose_uint64.c
+++ b/libglitter_compose_uint64.c
@@ -9,6 +9,7 @@
# define greater_t double
# define MIX(A, B) (((A) >> 1) + ((B) >> 1) + ((A) & (B) & 1))
#endif
+#ifndef TEST
static void
@@ -90,3 +91,16 @@ libglitter_compose_uint64(uint64_t **outputs, const uint64_t *restrict input, si
render_ctx->cellmap, render_ctx->ncellvalues);
}
}
+
+
+#else
+
+
+int
+main(void)
+{
+ return 0; /* TODO add test */
+}
+
+
+#endif