From 9be81ef43c8cfabe72fba16651dbfe62ed0f1123 Mon Sep 17 00:00:00 2001 From: Christian C Date: Fri, 7 Mar 2025 23:48:17 -0800 Subject: Testing suite --- include/test/lib/color.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/test/lib') diff --git a/include/test/lib/color.h b/include/test/lib/color.h index 835cb0a..be0d62f 100644 --- a/include/test/lib/color.h +++ b/include/test/lib/color.h @@ -3,13 +3,13 @@ #include #ifndef TEST_RESULT -#define TEST_RESULT(result,n,n_success) _TEST_RESULT("LIB/COLOR",result,n,n_success) +#define TEST_RESULT(subtest,result,n,n_success) _TEST_RESULT("LIB/COLOR",subtest,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); +bool_t test_color_zero(const uint8_t* color1, size_t channels, bool_t result); +bool_t test_color_equal(const uint8_t* color1, const uint8_t* color2, size_t channels, bool_t result); // Meta test function bool_t TEST_lib_color(); -- cgit v1.2.1