aboutsummaryrefslogtreecommitdiff
path: root/include/test/lib
diff options
context:
space:
mode:
authorChristian C <cc@localhost>2025-03-07 23:48:17 -0800
committerChristian C <cc@localhost>2025-03-07 23:48:17 -0800
commit9be81ef43c8cfabe72fba16651dbfe62ed0f1123 (patch)
treee767747b5fd49b3bb2c2693328844b5ea0368b52 /include/test/lib
parentafad16ce636dd54fa1fdedd100eb93f1d7b508d6 (diff)
Testing suite
Diffstat (limited to 'include/test/lib')
-rw-r--r--include/test/lib/color.h6
1 files changed, 3 insertions, 3 deletions
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 <test/__meta__.h>
#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 <lib/color.h>
-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();