From b6bb688199abc342a6e85f80859c8cbb5a41b58a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 23 Jan 2023 20:34:03 +0100 Subject: Add some tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libglitter_compose_double.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'libglitter_compose_double.c') 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 -- cgit v1.2.3-70-g09d2