aboutsummaryrefslogtreecommitdiff
path: root/include/test/lib
diff options
context:
space:
mode:
authorChristian C <cc@localhost>2025-04-01 17:38:32 -0700
committerChristian C <cc@localhost>2025-04-01 17:38:32 -0700
commita18cea2fef7aa1545c9a984b60919541b26a6f84 (patch)
treed1ab991e28b701bdfdc9035704389ad6c57391c9 /include/test/lib
parent2bc54ac42b831a7dfcba26c2d12ba002f80a5e40 (diff)
Clang Format
Diffstat (limited to 'include/test/lib')
-rw-r--r--include/test/lib/color.h9
-rw-r--r--include/test/lib/dir.h9
-rw-r--r--include/test/lib/time.h6
3 files changed, 15 insertions, 9 deletions
diff --git a/include/test/lib/color.h b/include/test/lib/color.h
index 2e9b863..e1598cb 100644
--- a/include/test/lib/color.h
+++ b/include/test/lib/color.h
@@ -3,14 +3,17 @@
#include <test/__meta__.h>
#ifndef TEST_RESULT
-#define TEST_RESULT(subtest,result,n,n_success) _TEST_RESULT("LIB/COLOR",subtest,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>
#include <lib/data/image_types.h>
-bool_t test_color_zero(const ImageData_t* color1, size_t channels, bool_t result);
-bool_t test_color_equal(const ImageData_t* color1, const ImageData_t* color2, size_t channels, bool_t result);
+bool_t test_color_zero(const ImageData_t *color1, size_t channels,
+ bool_t result);
+bool_t test_color_equal(const ImageData_t *color1, const ImageData_t *color2,
+ size_t channels, bool_t result);
// Meta test function
bool_t TEST_lib_color();
diff --git a/include/test/lib/dir.h b/include/test/lib/dir.h
index 64482df..6d46267 100644
--- a/include/test/lib/dir.h
+++ b/include/test/lib/dir.h
@@ -3,14 +3,15 @@
#include <test/__meta__.h>
#ifndef TEST_RESULT
-#define TEST_RESULT(subtest,result,n,n_success) _TEST_RESULT("LIB/DIR",subtest,result,n,n_success)
+#define TEST_RESULT(subtest, result, n, n_success) \
+ _TEST_RESULT("LIB/DIR", subtest, result, n, n_success)
#endif
#include <lib/dir.h>
-bool_t test_is_directory(char* dirname, bool_t result);
-bool_t test_full_path(char* dirname, char* file, char* result);
-bool_t test_is_tif_ext(char* file_name, bool_t result);
+bool_t test_is_directory(char *dirname, bool_t result);
+bool_t test_full_path(char *dirname, char *file, char *result);
+bool_t test_is_tif_ext(char *file_name, bool_t result);
// Meta test function
bool_t TEST_lib_dir();
diff --git a/include/test/lib/time.h b/include/test/lib/time.h
index cdf464e..d242c65 100644
--- a/include/test/lib/time.h
+++ b/include/test/lib/time.h
@@ -3,12 +3,14 @@
#include <test/__meta__.h>
#ifndef TEST_RESULT
-#define TEST_RESULT(subtest,result,n,n_success) _TEST_RESULT("LIB/TIME",subtest,result,n,n_success)
+#define TEST_RESULT(subtest, result, n, n_success) \
+ _TEST_RESULT("LIB/TIME", subtest, result, n, n_success)
#endif
#include <lib/time.h>
-bool_t test_diff_time(const struct timespec *time1, const struct timespec *time0, double result);
+bool_t test_diff_time(const struct timespec *time1,
+ const struct timespec *time0, double result);
// Meta test function
bool_t TEST_lib_time();