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_update_render_context.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'libglitter_update_render_context.c') diff --git a/libglitter_update_render_context.c b/libglitter_update_render_context.c index 318ec87..39e5146 100644 --- a/libglitter_update_render_context.c +++ b/libglitter_update_render_context.c @@ -1,5 +1,6 @@ /* See LICENSE file for copyright and license details. */ #include "common.h" +#ifndef TEST void @@ -26,3 +27,16 @@ libglitter_update_render_context(LIBGLITTER_RENDER_CONTEXT *this, size_t rowsize this->cells[2][1] = this->cells[2][0]; } } + + +#else + + +int +main(void) +{ + return 0; /* TODO add test */ +} + + +#endif -- cgit v1.2.3-70-g09d2