diff options
author | Mattias Andrée <maandree@kth.se> | 2023-01-23 20:34:03 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-01-23 20:34:03 +0100 |
commit | b6bb688199abc342a6e85f80859c8cbb5a41b58a (patch) | |
tree | 46d953c3689f5f75210c7667c3a4f1c4d1386aab /libglitter_compose_double.c | |
parent | Add libglitter_reorder_rasters (diff) | |
download | libglitter-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_double.c | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/libglitter_compose_double.c b/libglitter_compose_double.c index 5a8d361..53da733 100644 --- a/libglitter_compose_double.c +++ b/libglitter_compose_double.c @@ -1,5 +1,6 @@ /* See LICENSE file for copyright and license details. */ #include "common.h" +#ifndef TEST static void @@ -56,7 +57,7 @@ hstrips(double **outputs_, const double *restrict input, size_t output_rowsize, } -#ifndef ONLY_INT_COMPATIBLE +# ifndef ONLY_INT_COMPATIBLE static void @@ -109,4 +110,19 @@ libglitter_compose_double(double **outputs, const double *restrict input, size_t } +# endif + + +#else +# ifndef ONLY_INT_COMPATIBLE + + +int +main(void) +{ + return 0; /* TODO add test */ +} + + +# endif #endif |