aboutsummaryrefslogtreecommitdiff
path: root/include/test/lib/color.h
diff options
context:
space:
mode:
authorChristian Cunningham <cc@local.lan>2025-03-07 23:05:12 -0800
committerChristian Cunningham <cc@local.lan>2025-03-07 23:05:12 -0800
commitcce115efbcea123b55e74a81979273681f17718f (patch)
tree075739eb47cf62fd59ea92e988d0d7d033eef771 /include/test/lib/color.h
parentae5dfc5830a9d6ec34c838558b60e5a84fc11c6b (diff)
Test suite start
Diffstat (limited to 'include/test/lib/color.h')
-rw-r--r--include/test/lib/color.h17
1 files changed, 17 insertions, 0 deletions
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 <test/__meta__.h>
+#ifndef TEST_RESULT
+#define TEST_RESULT(result,n,n_success) _TEST_RESULT("LIB/COLOR",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);
+
+// Meta test function
+bool_t TEST_lib_color();
+
+#endif