From afad16ce636dd54fa1fdedd100eb93f1d7b508d6 Mon Sep 17 00:00:00 2001 From: Christian C Date: Fri, 7 Mar 2025 23:05:12 -0800 Subject: Test suite start --- include/test/lib/color.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 include/test/lib/color.h (limited to 'include/test/lib/color.h') diff --git a/include/test/lib/color.h b/include/test/lib/color.h new file mode 100644 index 0000000..835cb0a --- /dev/null +++ b/include/test/lib/color.h @@ -0,0 +1,17 @@ +#ifndef INC_TEST_LIB_COLOR_H +#define INC_TEST_LIB_COLOR_H + +#include +#ifndef TEST_RESULT +#define TEST_RESULT(result,n,n_success) _TEST_RESULT("LIB/COLOR",result,n,n_success) +#endif + +#include + +bool_t test_color_zero(uint8_t* color1, size_t channels, bool_t result); +bool_t test_color_equal(uint8_t* color1, uint8_t* color2, size_t channels, bool_t result); + +// Meta test function +bool_t TEST_lib_color(); + +#endif -- cgit v1.2.1